Switch to kde polkit agent
This commit is contained in:
parent
b5dc8bc95a
commit
20e783ded1
|
@ -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" ]; };
|
||||
|
|
Loading…
Reference in New Issue