dwm: polkit-gnome-auth-agent

This commit is contained in:
Zynh Ludwig 2024-07-17 18:45:18 -07:00
parent bb62038052
commit 574753ff0b

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