Extract Docker configuration to a mixin

This commit is contained in:
Oliver Davies 2024-09-21 12:46:14 +01:00
parent 24e2edfb8e
commit cd4e7048c5
2 changed files with 14 additions and 10 deletions
modules/mixins

10
modules/mixins/docker.nix Normal file
View file

@ -0,0 +1,10 @@
{
virtualisation.docker = {
enable = true;
autoPrune = {
enable = true;
dates = "weekly";
};
};
}