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:
GDBlaster 2025-08-07 10:36:05 +02:00
parent c37168656b
commit bfa1933939

View File

@ -99,6 +99,7 @@ in
script = "exec ${lib.getExe cfg.package} clean all ${cfg.clean.extraArgs}";
startAt = cfg.clean.dates;
path = [ config.nix.package ];
after = [ "multi-user.target" ];
serviceConfig.Type = "oneshot";
};