diff --git a/machine/configuration.nix b/machine/configuration.nix index 350edfb..9ee0917 100644 --- a/machine/configuration.nix +++ b/machine/configuration.nix @@ -1,4 +1,5 @@ { + lib, pkgs, userName, hostName, @@ -157,6 +158,14 @@ pkgs.bash ]; + nix.settings.experimental-features = ["nix-command" "flakes"]; + nixpkgs.config.allowUnfree = true; + nix.package = pkgs.nix; + nix.gc = { + automatic = lib.mkDefault true; + options = lib.mkDefault "--delete-older-than 7d"; + }; + system.stateVersion = 5; # Set your time zone.