WIP: screen sharing

This commit is contained in:
Simon Bruder 2021-01-23 09:46:07 +01:00
parent 617fc28668
commit 77ee9a2d0c
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 12 additions and 0 deletions

View file

@ -10,4 +10,15 @@ lib.mkIf config.sbruder.gui.enable {
# steam (and other high quality software) still ships 32 bit binaries
hardware.opengl.driSupport32Bit = lib.mkIf pkgs.stdenv.isx86_64 true;
# screen sharing
services.pipewire.enable = true;
xdg.portal = {
enable = true;
gtkUsePortal = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
];
};
}

View file

@ -237,6 +237,7 @@ lib.mkIf config.sbruder.gui.enable {
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export SDL_VIDEODRIVER=wayland
export WLR_NO_HARDWARE_CURSORS=1
export XDG_CURRENT_DESKTOP=sway
export _JAVA_AWT_WM_NONREPARENTING=1
'';
};