Polkit,Hypr, update kde-packages to qt6, remove portal

There is a warning to update before deprecation. This is a fix for that.
Remove a conflicting portal implementation
This commit is contained in:
Julia Lange 2025-03-17 16:26:56 -07:00
parent eed568e289
commit 57a1d1f5b9
Signed by: Julia
SSH key fingerprint: SHA256:5DJcfxa5/fKCYn57dcabJa2vN2e6eT0pBerYi5SUbto
2 changed files with 3 additions and 4 deletions

View file

@ -115,7 +115,7 @@ let rootPath = ./.; in
}; };
exec-once = lopts config.hypr.polkit.enable [ exec-once = lopts config.hypr.polkit.enable [
"${pkgs.polkit-kde-agent}/bin/libexec/polkit-kde-authentication-agent-1" "${pkgs.kdePackages.polkit-kde-agent-1}/bin/libexec/polkit-kde-authentication-agent-1"
] ++ lopts config.hypr.background.enable [ ] ++ lopts config.hypr.background.enable [
"${pkgs.swww}/bin/swww-daemon" "${pkgs.swww}/bin/swww-daemon"
"${pkgs.swww}/bin/swww img ${config.hypr.background.path}" "${pkgs.swww}/bin/swww img ${config.hypr.background.path}"
@ -229,9 +229,8 @@ let rootPath = ./.; in
home.packages = with pkgs; [ home.packages = with pkgs; [
wlr-randr # Xrandr for wayland wlr-randr # Xrandr for wayland
wl-clipboard # Clipboard manager for wayland wl-clipboard # Clipboard manager for wayland
xdg-desktop-portal-hyprland # XDP for hyprland
] ++ lopts config.hypr.xwayland.videobridge.enable [ ] ++ lopts config.hypr.xwayland.videobridge.enable [
xwaylandvideobridge kdePackages.xwaylandvideobridge
] ++ lopts config.hypr.cursor.enable [ ] ++ lopts config.hypr.cursor.enable [
hyprcursor hyprcursor
] ++ lopts config.hypr.screenshot.enable [ ] ++ lopts config.hypr.screenshot.enable [

View file

@ -8,7 +8,7 @@
config = lib.mkIf config.polkit.enable { config = lib.mkIf config.polkit.enable {
security.polkit.enable = true; security.polkit.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
polkit-kde-agent kdePackages.polkit-kde-agent-1
]; ];
}; };
} }