don't ask for password for update, it's not needed

This commit is contained in:
2025-12-11 13:44:35 -05:00
parent 112db5e481
commit 1bc4df63c5

View File

@@ -42,7 +42,7 @@ with lib;
JPID=$!
# Start the service and wait for it to finish
if systemctl start --wait "$UNIT"; then
if systemctl start --wait --no-ask-password "$UNIT"; then
STATUS=$?
else
STATUS=$?
@@ -78,6 +78,7 @@ with lib;
};
security.polkit = {
debug = true;
enable = true;
extraConfig = ''
polkit.addRule(function(action, subject) {