modules: system: podman: add weekly purge

This commit is contained in:
Bruno BELANYI 2023-06-08 11:25:05 +00:00
parent d69dbf8d62
commit c0995929c4

View file

@ -20,6 +20,17 @@ in
# Allow DNS resolution in the default network # Allow DNS resolution in the default network
defaultNetwork.dnsname.enable = true; defaultNetwork.dnsname.enable = true;
# Remove unused data on a weekly basis
autoPrune = {
enable = true;
dates = "weekly";
flags = [
"--all"
];
};
}; };
}; };
} }