diff --git a/nixos/msi/configuration.nix b/nixos/msi/configuration.nix index aa74f25..cee73b2 100644 --- a/nixos/msi/configuration.nix +++ b/nixos/msi/configuration.nix @@ -18,6 +18,20 @@ in boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; + # Nix package installer settings + nix = { + settings = { + # Collapse duplicates into a single hard-link during build + auto-optimise-store = true; + }; + gc = { + # Automatically delete old objects and generations + automatic = true; + dates = "daily"; + options = "--delete-older-than +5"; + }; + }; + networking.hostName = "nixos"; # Define your hostname. # Pick only one of the below networking options. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.