From f7093a7d4abc4a7660242ea1df3f69521d26d2bf Mon Sep 17 00:00:00 2001 From: elwrcl Date: Fri, 17 Apr 2026 13:35:44 +0300 Subject: [PATCH] portal fixes --- nixos/desktop/window-managers/hyprland.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/nixos/desktop/window-managers/hyprland.nix b/nixos/desktop/window-managers/hyprland.nix index a072504..09ba2d4 100644 --- a/nixos/desktop/window-managers/hyprland.nix +++ b/nixos/desktop/window-managers/hyprland.nix @@ -10,10 +10,11 @@ enable = true; xdgOpenUsePortal = true; extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; - config.hyprland.default = lib.mkForce [ - "hyprland" - "gtk" - ]; + config.hyprland = lib.mkForce { + default = "gtk"; + "org.freedesktop.impl.portal.Screenshot" = "hyprland"; + "org.freedesktop.impl.portal.ScreenCast" = "hyprland"; + }; }; services = {