From 760a7a8c91cd340864d9915d18f9123127a78f8d Mon Sep 17 00:00:00 2001 From: elwrcl Date: Wed, 22 Apr 2026 10:24:00 +0300 Subject: [PATCH] changed portals.. Signed-off-by: elwrcl --- nixos/desktop/window-managers/hyprland.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/nixos/desktop/window-managers/hyprland.nix b/nixos/desktop/window-managers/hyprland.nix index 1a661d7..198a3c5 100644 --- a/nixos/desktop/window-managers/hyprland.nix +++ b/nixos/desktop/window-managers/hyprland.nix @@ -17,18 +17,25 @@ enable = true; xdgOpenUsePortal = true; extraPortals = with pkgs; [ + xdg-desktop-portal-kde xdg-desktop-portal-gtk ]; config = { - common.default = "*"; + common.default = [ + "kde" + "gtk" + ]; hyprland = { default = [ "hyprland" - "gtk" + "kde" ]; + "org.freedesktop.impl.portal.ScreenCast" = "hyprland"; + "org.freedesktop.impl.portal.Screenshot" = "hyprland"; }; }; }; + services = { dbus.enable = true; pipewire = {