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 = {