nh: Delay run on boot so clean service doesnt make the boot process wait for it
Fix formatting Co-authored-by: Acid Bong <acidbong@tilde.club> changed target to multi-user
This commit is contained in:
parent
c37168656b
commit
bfa1933939
@ -99,6 +99,7 @@ in
|
|||||||
script = "exec ${lib.getExe cfg.package} clean all ${cfg.clean.extraArgs}";
|
script = "exec ${lib.getExe cfg.package} clean all ${cfg.clean.extraArgs}";
|
||||||
startAt = cfg.clean.dates;
|
startAt = cfg.clean.dates;
|
||||||
path = [ config.nix.package ];
|
path = [ config.nix.package ];
|
||||||
|
after = [ "multi-user.target" ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user