summaryrefslogtreecommitdiff
path: root/modules/desktops/wayland.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktops/wayland.nix')
-rw-r--r--modules/desktops/wayland.nix9
1 files changed, 6 insertions, 3 deletions
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;