diff options
author | Freya Murphy <freya@freyacat.org> | 2025-06-27 16:43:58 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-06-27 16:43:58 -0400 |
commit | f250dda0b8df0e37453eb3e70f52b31ff05ae4cf (patch) | |
tree | aa0a771d00512e55ea6d9202528ca77ad283fecc | |
parent | fmt (diff) | |
download | dotfiles-nix-f250dda0b8df0e37453eb3e70f52b31ff05ae4cf.tar.gz dotfiles-nix-f250dda0b8df0e37453eb3e70f52b31ff05ae4cf.tar.bz2 dotfiles-nix-f250dda0b8df0e37453eb3e70f52b31ff05ae4cf.zip |
fix xdg.portal after refactor
-rw-r--r-- | modules/desktops/hyprland/default.nix | 3 | ||||
-rw-r--r-- | modules/desktops/wayland.nix | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/modules/desktops/hyprland/default.nix b/modules/desktops/hyprland/default.nix index cc1122c..56eef35 100644 --- a/modules/desktops/hyprland/default.nix +++ b/modules/desktops/hyprland/default.nix @@ -25,6 +25,9 @@ in { extraPortals = [ inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland ]; + config = { + hyprland.common = ["gtk" "hyprland"]; + }; }; home-manager.users.${config.user} = { diff --git a/modules/desktops/wayland.nix b/modules/desktops/wayland.nix index ceef20a..600651f 100644 --- a/modules/desktops/wayland.nix +++ b/modules/desktops/wayland.nix @@ -10,10 +10,13 @@ in { config = mkIf cfg.wayland { xdg.portal = { enable = true; - wlr.enable = true; - extraPortals = [ - pkgs.xdg-desktop-portal-wlr + xdgOpenUsePortal = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-gtk ]; + config = { + default.common = ["gtk"]; + }; }; programs.xwayland.enable = true; |