nixos76: set up automatic gc
This commit is contained in:
parent
2da09001d7
commit
a29572f876
|
@ -9,6 +9,13 @@
|
|||
../../modules/system76-pc.nix
|
||||
];
|
||||
|
||||
nix.settings.auto-optimise-store = true;
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 5d";
|
||||
};
|
||||
|
||||
networking.hostName = "nixos76"; # Define your hostname.
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
|
|
Loading…
Reference in New Issue