modules: system: podman: add weekly purge
This commit is contained in:
parent
d69dbf8d62
commit
c0995929c4
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue