diff --git a/os-mods/common/default.nix b/os-mods/common/default.nix index 7858c03..d7437ae 100644 --- a/os-mods/common/default.nix +++ b/os-mods/common/default.nix @@ -8,12 +8,6 @@ nixpkgs.hostPlatform = lib.mkDefault system; nix = { - gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 2w"; - randomizedDelaySec = "45min"; - }; settings = { auto-optimise-store = true; }; @@ -91,6 +85,12 @@ }; programs = { + nh = { + enable = true; + clean.enable = true; + clean.extraArgs = "--keep-since 14d --keep 16"; + flake = "/home/tristand/nix"; + }; rust-motd = { enable = true; enableMotdInSSHD = true;