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
1 changed files with 11 additions and 0 deletions

View File

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