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