Enable xdg-desktop-portal-wlr using new option

This commit is contained in:
coolneng 2022-03-29 12:44:10 +02:00
parent 950f2ff69d
commit bc8605a2ee
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 1 deletions

View File

@ -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;
};
}