From 574753ff0b9104ad2aba3141d8113e830561b432 Mon Sep 17 00:00:00 2001 From: Zynh Ludwig Date: Wed, 17 Jul 2024 18:45:18 -0700 Subject: [PATCH] dwm: polkit-gnome-auth-agent --- modules/dwm.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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