diff --git a/flake.nix b/flake.nix index d1804f4..5f898fb 100755 --- a/flake.nix +++ b/flake.nix @@ -11,14 +11,6 @@ "binarycache.k3t.dev:cmIg4sWTZ729F1yEF2AYLtSbUXJGFYwM6tzYYF18qts=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; - nix.settings = { - optimise.automatic = true; - gc = { - automatic = true; - dates = "daily"; - options = "--delete-older-than 2d"; - }; - }; }; inputs = { diff --git a/modules/sys/nix.nix b/modules/sys/nix.nix index 137f29c..b94e6d0 100644 --- a/modules/sys/nix.nix +++ b/modules/sys/nix.nix @@ -12,6 +12,12 @@ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; }; + optimise.automatic = true; + gc = { + automatic = true; + dates = "daily"; + options = "--delete-older-than 2d"; + }; }; nixpkgs.config.allowUnfree = true; } \ No newline at end of file