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