From 1bc4df63c58eff16f9bbd0b87208bb47cfb92e13 Mon Sep 17 00:00:00 2001 From: Hunter Halloran Date: Thu, 11 Dec 2025 13:44:35 -0500 Subject: [PATCH] don't ask for password for update, it's not needed --- sw/shared-services.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sw/shared-services.nix b/sw/shared-services.nix index 2efe6c5..1a9bbae 100644 --- a/sw/shared-services.nix +++ b/sw/shared-services.nix @@ -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) {