diff --git a/nixos/base.nix b/nixos/base.nix index 0f1067a..66a2462 100644 --- a/nixos/base.nix +++ b/nixos/base.nix @@ -202,8 +202,8 @@ ''; security.pam.services.sddm.enableGnomeKeyring = true; - # Allow non free packages nixpkgs.config.allowUnfree = true; + nix.gc.automatic = true; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions diff --git a/nixos/thor.nix b/nixos/thor.nix index f1c7789..8ea5dd8 100644 --- a/nixos/thor.nix +++ b/nixos/thor.nix @@ -148,6 +148,7 @@ }; nixpkgs.config.allowUnfree = true; + nix.gc.automatic = true; system.stateVersion = "21.05"; # Did you read the comment? }