diff --git a/modules/dwm.nix b/modules/dwm.nix index d1a127e..d19833a 100644 --- a/modules/dwm.nix +++ b/modules/dwm.nix @@ -44,6 +44,20 @@ in 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; [ dmenu xclip