summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/security/polkit.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/security/polkit.nix b/nixos/modules/security/polkit.nix
index 5933cdc0cec3..df42d5a3e027 100644
--- a/nixos/modules/security/polkit.nix
+++ b/nixos/modules/security/polkit.nix
@@ -101,7 +101,7 @@ in
 
         # Force polkitd to be restarted so that it reloads its
         # configuration.
-        ${pkgs.procps}/bin/pkill -INT -u root -x polkitd
+        ${config.systemd.package}/bin/systemctl try-restart polkit.service
       '';
 
     users.extraUsers.polkituser = {