summaryrefslogtreecommitdiff
path: root/modules/wm.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/wm.nix')
-rw-r--r--modules/wm.nix16
1 files changed, 16 insertions, 0 deletions
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;
+ };
+ };
+ };
}