diff options
Diffstat (limited to 'system/desktops/hyprland.nix')
| -rw-r--r-- | system/desktops/hyprland.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/system/desktops/hyprland.nix b/system/desktops/hyprland.nix index 42a45be..b0281a3 100644 --- a/system/desktops/hyprland.nix +++ b/system/desktops/hyprland.nix @@ -1,12 +1,11 @@ { inputs, config, - pkgs, lib, system, ... }: let - inherit (lib) mkIf mkDefault; + inherit (lib) mkIf; cfg = config.desktops.hyprland; in { config = mkIf cfg.enable { @@ -17,14 +16,18 @@ in { inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland ]; config.hyprland = { - default = ["hyprland" "gtk"]; + default = lib.mkForce ["gtk"]; + "org.freedesktop.impl.portal.Secret" = ["gnome-keyring"]; "org.freedesktop.impl.portal.FileChooser" = ["gtk"]; "org.freedesktop.impl.portal.OpenURI" = ["gtk"]; + "org.freedesktop.impl.portal.Screencast" = ["hyprland"]; + "org.freedesktop.impl.portal.Screenshot" = ["hyprland"]; }; }; programs.hyprland = { enable = true; + withUWSM = true; package = inputs.hyprland.packages.${system}.hyprland; portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland; }; |