Update system
This commit is contained in:
parent
84b5700555
commit
b222c15014
10 changed files with 150 additions and 209 deletions
20
modules/polkit.nix
Normal file
20
modules/polkit.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
security.polkit = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
systemd = {
|
||||
user.services.polkit-agent = {
|
||||
wants = [ "graphical-session.target" ];
|
||||
wantedBy = [ "graphical-session.target" ];
|
||||
after = [ "graphical-session.target" ];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
ExecStart = "${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 1;
|
||||
TimeoutStopSec = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue