diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 470518c5..bfec60f3 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -86,6 +86,13 @@ }; }; + nix.autoOptimiseStore = true; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + nixpkgs.config.allowUnfree = true; # Enable the X11 windowing system.