Enable xdg-desktop-portal, required by newer versions of Steam

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-06-28 14:21:19 +02:00
parent 8fb752ae01
commit 090684d8f5
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E

View file

@ -1,9 +1,16 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
inherit (lib) inherit (lib)
getExe; getExe
singleton;
in in
{ {
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
extraPortals = singleton pkgs.xdg-desktop-portal-gtk;
};
services.xserver = { services.xserver = {
enable = true; enable = true;