refactor(hm/price): use hyprpolkitagent instead of gnome polkit agent
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 37s
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 37s
This commit is contained in:
parent
2e69205abc
commit
4e7d8cd536
@ -363,17 +363,18 @@ in
|
|||||||
After = [ "compositor.target" ];
|
After = [ "compositor.target" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
polkit-gnome-authentication-agent-1 = {
|
polkit-hyprpolkitagent = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Gnome Polkit authentication agent";
|
Description = "Hyprland Polkit authentication agent";
|
||||||
Documentation = "https://gitlab.freedesktop.org/polkit/polkit/";
|
Documentation = "https://wiki.hyprland.org/Hypr-Ecosystem/hyprpolkitagent/";
|
||||||
After = [ "graphical-session-pre.target" ];
|
After = [ "graphical-session.target" ];
|
||||||
PartOf = [ "graphical-session.target" ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
|
ExecStart = "${pkgs.hyprpolkitagent}/libexec/hyprpolkitagent";
|
||||||
Restart = "always";
|
Restart = "always";
|
||||||
|
RestartSec = 2;
|
||||||
|
TimeoutStopSec = 10;
|
||||||
};
|
};
|
||||||
|
|
||||||
Install.WantedBy = [ "graphical-session.target" ];
|
Install.WantedBy = [ "graphical-session.target" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user