diff --git a/sys/profiles/nix/gc.nix b/sys/profiles/nix/gc.nix index b7c88d1..73f2a68 100644 --- a/sys/profiles/nix/gc.nix +++ b/sys/profiles/nix/gc.nix @@ -8,14 +8,4 @@ options = "--delete-older-than 14d"; }; nix.optimise.automatic = true; - - systemd.services.remove-old-nix-gc-roots = let - beforeDate = "last month"; - in { - description = "Remove old nix gc roots"; - script = "exec ${lib.getExe pkgs.findutils} /nix/var/nix/gcroots/auto -not -newermt \"${beforeDate}\" -delete"; - serviceConfig.Type = "oneshot"; - before = ["nix-gc.service"]; - requiredBy = ["nix-gc.service"]; - }; } diff --git a/sys/profiles/nix/nix.nix b/sys/profiles/nix/nix.nix index adf3ab8..ceb613b 100644 --- a/sys/profiles/nix/nix.nix +++ b/sys/profiles/nix/nix.nix @@ -11,7 +11,6 @@ settings = { builders-use-substitutes = true; - keep-outputs = true; keep-derivations = true; accept-flake-config = true; use-xdg-base-directories = true;