fix(modules/automatic-gc): Add nix-daemon to requisites
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>
This commit is contained in:
parent
cc903bc3b0
commit
75d507223b
1 changed files with 1 additions and 0 deletions
|
@ -79,6 +79,7 @@ in {
|
||||||
|
|
||||||
systemd.timers.automatic-gc = {
|
systemd.timers.automatic-gc = {
|
||||||
inherit description;
|
inherit description;
|
||||||
|
requisite = [ "nix-daemon.service" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
|
|
Loading…
Reference in a new issue