put config for podman-auto-update in mkIf
This commit is contained in:
parent
a5f1ea6039
commit
2e0fc712b7
1 changed files with 4 additions and 1 deletions
|
|
@ -105,7 +105,10 @@ in
|
||||||
(import ./vim.nix)
|
(import ./vim.nix)
|
||||||
];
|
];
|
||||||
|
|
||||||
systemd.timers."podman-auto-update".enable = config.virtualisation.podman.enable;
|
systemd.timers."podman-auto-update" = (lib.mkIf config.virtualisation.podman.enable {
|
||||||
|
enable = true;
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
});
|
||||||
# disabling prune until nixos 23.05 drops
|
# disabling prune until nixos 23.05 drops
|
||||||
# due to compability issues
|
# due to compability issues
|
||||||
#virtualisation.podman.autoPrune.enable = config.virtualisation.podman.enable;
|
#virtualisation.podman.autoPrune.enable = config.virtualisation.podman.enable;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue