about summary refs log tree commit diff
path: root/ops/modules/automatic-gc.nix
diff options
context:
space:
mode:
Diffstat (limited to 'ops/modules/automatic-gc.nix')
-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 6904afc673d8..504408a92497 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 = {