diff --git a/config/hosts/nixos76/default.nix b/config/hosts/nixos76/default.nix index 77f0586..2cfbb92 100644 --- a/config/hosts/nixos76/default.nix +++ b/config/hosts/nixos76/default.nix @@ -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" ];