hm/polkit-gnome: init

This commit is contained in:
Lu Wang 2024-12-03 21:26:59 +08:00
parent ead436be82
commit fbd4f36480
Signed by: rebmit
SSH key fingerprint: SHA256:3px8QV1zEerIrEWHaqtH5rR9kjetyRST5EipOPrd+bU
2 changed files with 19 additions and 0 deletions

View file

@ -56,6 +56,7 @@ let
fuzzel fuzzel
mako mako
niri niri
polkit-gnome
swaylock swaylock
swww swww
waybar.niri waybar.niri

View 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" ];
};
}