feat: add polkit auth agent
This commit is contained in:
parent
e32ad10fea
commit
23f23dbd2b
1 changed files with 17 additions and 0 deletions
|
@ -469,4 +469,21 @@
|
|||
defaultTimeout = 4000;
|
||||
font = "Noto Sans";
|
||||
};
|
||||
|
||||
systemd.user.services.polkit-gnome-authentication-agent-1 = {
|
||||
Unit = {
|
||||
Description = "polkit-gnome-authentication-agent-1";
|
||||
Wants = [ "graphical-session.target" ];
|
||||
After = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
Type = "simple";
|
||||
ExecStart =
|
||||
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||
Restart = "on-failure";
|
||||
RestartSec = 1;
|
||||
TimeoutStopSec = 10;
|
||||
};
|
||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue