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