refactor(hm/price): use hyprpolkitagent instead of gnome polkit agent
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 37s

This commit is contained in:
Price Hiller 2024-11-12 00:57:21 -06:00
parent 2e69205abc
commit 4e7d8cd536
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -363,17 +363,18 @@ in
After = [ "compositor.target" ];
};
};
polkit-gnome-authentication-agent-1 = {
polkit-hyprpolkitagent = {
Unit = {
Description = "Gnome Polkit authentication agent";
Documentation = "https://gitlab.freedesktop.org/polkit/polkit/";
After = [ "graphical-session-pre.target" ];
PartOf = [ "graphical-session.target" ];
Description = "Hyprland Polkit authentication agent";
Documentation = "https://wiki.hyprland.org/Hypr-Ecosystem/hyprpolkitagent/";
After = [ "graphical-session.target" ];
};
Service = {
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
ExecStart = "${pkgs.hyprpolkitagent}/libexec/hyprpolkitagent";
Restart = "always";
RestartSec = 2;
TimeoutStopSec = 10;
};
Install.WantedBy = [ "graphical-session.target" ];