Merge pull request #270523 from m-bdf/river-xdg-portal-config

nixos/river: add xdg.portal.config
This commit is contained in:
Linus Heckemann 2023-12-14 14:07:08 +01:00 committed by GitHub
commit 1f42f70866
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,9 @@ in {
# To make a river session available if a display manager like SDDM is enabled: # To make a river session available if a display manager like SDDM is enabled:
services.xserver.displayManager.sessionPackages = optionals (cfg.package != null) [ cfg.package ]; 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; }) (import ./wayland-session.nix { inherit lib pkgs; })
]); ]);