mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
Restart polkit if its configuration may have changed
This commit is contained in:
parent
82535e0f8f
commit
fa9ed04997
1 changed files with 3 additions and 0 deletions
|
@ -63,6 +63,9 @@ in
|
|||
|
||||
systemd.packages = [ pkgs.polkit ];
|
||||
|
||||
systemd.services.polkit.restartTriggers = [ config.system.path ];
|
||||
systemd.services.polkit.unitConfig.X-StopIfChanged = false;
|
||||
|
||||
# The polkit daemon reads action/rule files
|
||||
environment.pathsToLink = [ "/share/polkit-1" ];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue