From 007a160616ff033f3cafee058a8afc28629664c9 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Sat, 9 Mar 2024 20:15:56 +0530 Subject: update --- modules/wm.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'modules/wm.nix') diff --git a/modules/wm.nix b/modules/wm.nix index 03cf3ef..327ac41 100644 --- a/modules/wm.nix +++ b/modules/wm.nix @@ -13,4 +13,20 @@ inotify-tools ]; + + systemd = { + user.services.polkit-gnome-authentication-agent-1 = { + description = "polkit-gnome-authentication-agent-1"; + 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; + }; + }; + }; } -- cgit v1.2.3