Restart polkit if its configuration may have changed
This commit is contained in:
parent
82535e0f8f
commit
fa9ed04997
|
@ -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…
Reference in a new issue