From 090684d8f56b04326d48293ddf6160515e5a53bc Mon Sep 17 00:00:00 2001 From: Magic_RB Date: Wed, 28 Jun 2023 14:21:19 +0200 Subject: [PATCH] Enable `xdg-desktop-portal`, required by newer versions of Steam Signed-off-by: Magic_RB --- nixos/common/xserver.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nixos/common/xserver.nix b/nixos/common/xserver.nix index a73c9d9..bb2feac 100644 --- a/nixos/common/xserver.nix +++ b/nixos/common/xserver.nix @@ -1,9 +1,16 @@ { pkgs, lib, ... }: let inherit (lib) - getExe; + getExe + singleton; in { + xdg.portal = { + enable = true; + xdgOpenUsePortal = true; + extraPortals = singleton pkgs.xdg-desktop-portal-gtk; + }; + services.xserver = { enable = true;