dwm: polkit-gnome-auth-agent

sh-initrd-on-root
Zynh Ludwig 2024-07-17 18:45:18 -07:00
parent bb62038052
commit 574753ff0b
1 changed files with 14 additions and 0 deletions

View File

@ -44,6 +44,20 @@ in
partOf = [ "graphical-session.target" ]; partOf = [ "graphical-session.target" ];
}; };
systemd.user.services.polkit-gnome-authentication-agent = {
description = "polkit-gnome-authentication-agent";
wantedBy = [ "graphical-session.target" ];
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;
};
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
dmenu dmenu
xclip xclip