add garbage collection to nixos hosts
This commit is contained in:
parent
2cbfad36f0
commit
75ee874788
2 changed files with 14 additions and 0 deletions
|
|
@ -21,6 +21,13 @@
|
|||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
zfsSupport = true;
|
||||
configurationLimit = 10;
|
||||
};
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "monthly";
|
||||
options = "--delete-older-than 30d";
|
||||
};
|
||||
|
||||
# Disable systemd stage-1 (use traditional initrd for ZFS compatibility)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue