fix: polkit-gnome

This commit is contained in:
ooks-io 2023-08-18 20:13:39 +12:00
parent 788807aab5
commit c49937dbaa

View file

@ -6,6 +6,11 @@
{
environment.systemPackages = with pkgs; [
polkit_gnome
];
programs = {
gnupg.agent = {
enable = true;
@ -30,7 +35,6 @@
'';
};
};
systemd = {
user.services.polkit-gnome-authentication-agent-1 = {
@ -39,12 +43,13 @@
wants = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure";
RestartSec = 1;
TimeoutStopSec = 10;
};
};
};