Switch to kde polkit agent

This commit is contained in:
Nathan McCarty 2023-06-19 21:53:54 -04:00
parent b5dc8bc95a
commit 20e783ded1
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 3 additions and 4 deletions

View File

@ -61,7 +61,6 @@ in with lib; {
sommelier sommelier
# Polkit # Polkit
libsForQt5.polkit-kde-agent libsForQt5.polkit-kde-agent
polkit_gnome
# Auto workspace renaming # Auto workspace renaming
inputs.self.packages.${pkgs.system}.hyprland-autoname-workspaces inputs.self.packages.${pkgs.system}.hyprland-autoname-workspaces
]; ];
@ -277,15 +276,15 @@ in with lib; {
## Hyprland Addons ## Hyprland Addons
######################### #########################
# Setup polkit as a service # Setup polkit as a service
systemd.user.services.polkit-gnome = { systemd.user.services.polkit-kde = {
Unit = { Unit = {
Description = "Polkit gnome authentication agent"; Description = "Polkit kde authentication agent";
After = [ "graphical-session.target" ]; After = [ "graphical-session.target" ];
}; };
Service = { Service = {
Type = "simple"; Type = "simple";
ExecStart = ExecStart =
"${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1";
Restart = "on-failure"; Restart = "on-failure";
}; };
Install = { WantedBy = [ "hyprland-session.target" ]; }; Install = { WantedBy = [ "hyprland-session.target" ]; };