diff options
author | Vincent Ambo <mail@tazj.in> | 2021-04-14T19·49+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-04-14T19·53+0000 |
commit | 75d507223b2a5c6d7b7ff4f680ab80ac06db4ff2 (patch) | |
tree | de3940781042092cbbcb57de1ec814b2432a3e08 /ops/modules | |
parent | cc903bc3b045486af514b03d61102eea4db69bd4 (diff) |
fix(modules/automatic-gc): Add nix-daemon to requisites r/2512
This will require the daemon to be running when launching GC, but won't start it if it happens to not be running for some reason. Change-Id: If48fe336030173f028428fc00a81d339ef4b8bce Reviewed-on: https://cl.tvl.fyi/c/depot/+/3015 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'ops/modules')
-rw-r--r-- | ops/modules/automatic-gc.nix | 1 |
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 = { |