mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-13 04:21:08 +01:00
nix-gc: call nix-collect-garbage in a shell script
This will match the behavior in the upstream service which allows the user to set options to something that uses shell syntax.
This commit is contained in:
parent
89670e27e1
commit
db40fead89
3 changed files with 5 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
|||
nix.gc = {
|
||||
automatic = true;
|
||||
frequency = "monthly";
|
||||
options = "--delete-older-than 30d";
|
||||
options = "--delete-older-than 30d --max-freed $((64 * 1024**3))";
|
||||
};
|
||||
|
||||
test.stubs.nix = { name = "nix"; };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue