diff --git a/modules/base/nix.nix b/modules/base/nix.nix index 112b42c..55877f8 100644 --- a/modules/base/nix.nix +++ b/modules/base/nix.nix @@ -5,11 +5,22 @@ }: { nix = { package = pkgs.lix; + + gc = { + automatic = true; + options = "--delete-older-than 3d"; + }; + + channel.enable = false; + settings = { - experimental-features = "nix-command flakes"; auto-optimise-store = true; + allowed-users = ["${username}"]; trusted-users = ["${username}"]; + experimental-features = "nix-command flakes"; + keep-going = true; warn-dirty = false; + http-connections = 50; }; }; }