enabled podman auto-update and prune

This commit is contained in:
mc-fucker 2023-04-05 13:23:12 +02:00
parent 06158d31c2
commit 9c8a95ae55

View file

@ -101,6 +101,9 @@ in
(import ./vim.nix) (import ./vim.nix)
]; ];
virtualisation.podman.autoPrune.enable = config.virtualisation.podman.enable;
systemd.timers."podman-auto-update".enable = config.virtualisation.podman.enable;
nix.gc = { nix.gc = {
automatic = true; automatic = true;
options = "--delete-older-than 2d"; options = "--delete-older-than 2d";