From 73616aa0d9804d8ef00888a03f6e09e3aafd597e Mon Sep 17 00:00:00 2001 From: Pierre Bourdon Date: Wed, 17 Jul 2024 13:21:58 +0200 Subject: [PATCH] nixos-module: don't force Nix GC to keep outputs This isn't actually needed (h.n.o even overrides it!). Fix the use of deprecated `gc-keep-derivations` alias along the way. --- nixos-modules/hydra.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nixos-modules/hydra.nix b/nixos-modules/hydra.nix index 99694286..55e86310 100644 --- a/nixos-modules/hydra.nix +++ b/nixos-modules/hydra.nix @@ -230,8 +230,7 @@ in nix.settings = { extra-trusted-users = [ "hydra" "hydra-queue-runner" "hydra-www" ]; - gc-keep-outputs = true; - gc-keep-derivations = true; + keep-derivations = true; }; services.hydra-dev.extraConfig =