mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
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.packages = [ pkgs.polkit ];
|
||||||
|
|
||||||
|
systemd.services.polkit.restartTriggers = [ config.system.path ];
|
||||||
|
systemd.services.polkit.unitConfig.X-StopIfChanged = false;
|
||||||
|
|
||||||
# The polkit daemon reads action/rule files
|
# The polkit daemon reads action/rule files
|
||||||
environment.pathsToLink = [ "/share/polkit-1" ];
|
environment.pathsToLink = [ "/share/polkit-1" ];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user