about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authorMaëlys Bras de fer <mae.bdf@outlook.com>2023-11-28 00:49:03 +0100
committerMaëlys Bras de fer <mae.bdf@outlook.com>2023-11-28 00:49:03 +0100
commit03652db90bf4de615c3011d36136a27818019ae3 (patch)
treeca03e5463485c07646aafbd80e358d5f286f4e1f /nixos/modules/programs
parentc76b72caa421e31d998e4a05387ebd3b40454327 (diff)
downloadnixlib-03652db90bf4de615c3011d36136a27818019ae3.tar
nixlib-03652db90bf4de615c3011d36136a27818019ae3.tar.gz
nixlib-03652db90bf4de615c3011d36136a27818019ae3.tar.bz2
nixlib-03652db90bf4de615c3011d36136a27818019ae3.tar.lz
nixlib-03652db90bf4de615c3011d36136a27818019ae3.tar.xz
nixlib-03652db90bf4de615c3011d36136a27818019ae3.tar.zst
nixlib-03652db90bf4de615c3011d36136a27818019ae3.zip
nixos/river: add xdg.portal.config
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/wayland/river.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/programs/wayland/river.nix b/nixos/modules/programs/wayland/river.nix
index 71232a7d2618..84ee281f6004 100644
--- a/nixos/modules/programs/wayland/river.nix
+++ b/nixos/modules/programs/wayland/river.nix
@@ -51,6 +51,9 @@ in {
 
         # To make a river session available if a display manager like SDDM is enabled:
         services.xserver.displayManager.sessionPackages = optionals (cfg.package != null) [ cfg.package ];
+
+        # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1050913
+        xdg.portal.config.river.default = mkDefault [ "wlr" "gtk" ];
       }
       (import ./wayland-session.nix { inherit lib pkgs; })
     ]);