nixos/ups: run killpower driver as root (#552701)

This commit is contained in:
Bjørn Forsman
2026-08-17 21:05:52 +00:00
committed by GitHub

View File

@@ -679,7 +679,7 @@ in
environment = envVars;
serviceConfig = {
Type = "oneshot";
ExecStart = "${cfg.package}/bin/upsdrvctl shutdown";
ExecStart = "${cfg.package}/bin/upsdrvctl -u root shutdown";
};
};