about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ops/modules/automatic-gc.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/ops/modules/automatic-gc.nix b/ops/modules/automatic-gc.nix
index 6904afc673..504408a924 100644
--- a/ops/modules/automatic-gc.nix
+++ b/ops/modules/automatic-gc.nix
@@ -79,6 +79,7 @@ in {
 
     systemd.timers.automatic-gc = {
       inherit description;
+      requisite = [ "nix-daemon.service" ];
       wantedBy = [ "multi-user.target" ];
 
       timerConfig = {