diff --git a/ops/modules/automatic-gc.nix b/ops/modules/automatic-gc.nix index 504408a92..634785721 100644 --- a/ops/modules/automatic-gc.nix +++ b/ops/modules/automatic-gc.nix @@ -22,7 +22,7 @@ let echo "Have ''${AVAILABLE_KIB} KiB, but want ''${MIN_THRESHOLD_KIB} KiB." echo "Triggering Nix garbage collection up to ''${MAX_FREED_BYTES} bytes." set -x - nix-collect-garbage \ + ${config.nix.package}/bin/nix-collect-garbage \ --delete-older-than "''${GEN_THRESHOLD}" \ --max-freed "''${MAX_FREED_BYTES}" else