diff options
| author | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-09 20:15:56 +0530 | 
|---|---|---|
| committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-03-09 20:15:56 +0530 | 
| commit | 007a160616ff033f3cafee058a8afc28629664c9 (patch) | |
| tree | 44c706bef4e709d576b03da1bb4547df10dfef63 /modules/wm.nix | |
| parent | f7be27cccc42f3491f978171a557d3c8db8fe82a (diff) | |
update
Diffstat (limited to 'modules/wm.nix')
| -rw-r--r-- | modules/wm.nix | 16 | 
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; +        }; +    }; +  };  } | 
