feat: Docker prune automation
This commit is contained in:
parent
6033a0ce5d
commit
db08e595c1
1 changed files with 9 additions and 2 deletions
|
@ -12,8 +12,15 @@
|
|||
options = ["x-systemd.automount" "noauto" "soft"];
|
||||
};
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.docker.liveRestore = false;
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
liveRestore = false;
|
||||
autoPrune = {
|
||||
enable = true;
|
||||
flags = ["--all"];
|
||||
};
|
||||
};
|
||||
|
||||
users.users.kdb424.extraGroups = ["docker"];
|
||||
networking.firewall.enable = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue