diff --git a/configuration.nix b/configuration.nix index 8103a4a..76375c3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -35,6 +35,21 @@ "flakes" ]; + ## Auto-updates... + #system.autoUpgrade = { + # enable = true; + # dates = "weekly"; + #}; + + # Auto-cleanup... + nix.gc = { + automatic = true; + dates = "weekly"; + #options = "--delete-older-than 14d"; + }; + nix.settings.auto-optimise-store = true; + + # Allow unfree packages nixpkgs.config.allowUnfree = true;