diff --git a/modules/base.nix b/modules/base.nix index 8f7d6d7..ed834b6 100755 --- a/modules/base.nix +++ b/modules/base.nix @@ -89,6 +89,18 @@ security.sudo.wheelNeedsPassword = false; + nix = { + gc = { + automatic = true; + dates = "daily"; + options = "--delete-older-than 3d"; + }; + optimise = { + automatic = true; + dates = ["3:00"]; + }; + }; + programs.git = { enable = true; lfs.enable = true; diff --git a/nixos_systems/relay-node/base.nix b/nixos_systems/relay-node/base.nix index 741e7b0..1093c2d 100644 --- a/nixos_systems/relay-node/base.nix +++ b/nixos_systems/relay-node/base.nix @@ -28,12 +28,6 @@ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; trusted-users = ["@wheel"]; - auto-optimise-store = true; - }; - nix.gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 7d"; }; environment.enableAllTerminfo = true; # Enables (stable) terminfo for a bunch of extra terminals that aren't in ncurses yet (ghostty, alacritty, kitty, etc) diff --git a/nixos_systems/relay-node/staging/base.nix b/nixos_systems/relay-node/staging/base.nix index 47f4490..7473f07 100644 --- a/nixos_systems/relay-node/staging/base.nix +++ b/nixos_systems/relay-node/staging/base.nix @@ -28,12 +28,6 @@ "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" ]; trusted-users = ["@wheel"]; - auto-optimise-store = true; - }; - nix.gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 7d"; }; environment.enableAllTerminfo = true; # Enables (stable) terminfo for a bunch of extra terminals that aren't in ncurses yet (ghostty, alacritty, kitty, etc)