hm/polkit-gnome: init
This commit is contained in:
parent
ead436be82
commit
fbd4f36480
|
@ -56,6 +56,7 @@ let
|
|||
fuzzel
|
||||
mako
|
||||
niri
|
||||
polkit-gnome
|
||||
swaylock
|
||||
swww
|
||||
waybar.niri
|
||||
|
|
18
home-manager/profiles/polkit-gnome/default.nix
Normal file
18
home-manager/profiles/polkit-gnome/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
systemd.user.services.polkit-gnome-authentication-agent = {
|
||||
Unit = {
|
||||
After = [ "graphical-session.target" ];
|
||||
Requisite = [ "graphical-session.target" ];
|
||||
};
|
||||
Service = {
|
||||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
||||
RestartSec = 5;
|
||||
Restart = "on-failure";
|
||||
};
|
||||
Install.WantedBy = [ "graphical-session.target" ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue