feat: Docker prune automation

This commit is contained in:
Kyle Brown 2023-12-15 11:58:49 -08:00
parent 6033a0ce5d
commit db08e595c1

View file

@ -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;