From bc8605a2eebf1bd9d57273e50fe10578cc8b56a7 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 29 Mar 2022 12:44:10 +0200 Subject: [PATCH] Enable xdg-desktop-portal-wlr using new option --- modules/gui.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/gui.nix b/modules/gui.nix index 4d91bea..ce4fe8e 100644 --- a/modules/gui.nix +++ b/modules/gui.nix @@ -48,6 +48,7 @@ with pkgs; export XDG_SESSION_TYPE=wayland export XDG_CURRENT_DESKTOP=sway ''; + wrapperFeatures.gtk = true; }; # Backlight @@ -91,6 +92,6 @@ with pkgs; # Enable WebRTC screensharing xdg.portal = { enable = true; - extraPortals = [ xdg-desktop-portal-wlr ]; + wlr.enable = true; }; }