nixos/ups: remove Slice from UPS shutdown service

system-ups.slice conflicts with shutdown.target, so
ups-killpower.service is never queued at shutdown.
The slice isn't doing anything; removing it is a simple fix.
This commit is contained in:
Rhys
2025-10-14 20:01:09 +02:00
committed by Bjørn Forsman
parent 5ee9ed6cc3
commit 30aa6b71f2
@@ -680,7 +680,6 @@ in
serviceConfig = {
Type = "oneshot";
ExecStart = "${cfg.package}/bin/upsdrvctl shutdown";
Slice = "system-ups.slice";
};
};