WIP: screen sharing #30

Closed
simon wants to merge 1 commit from screen-sharing into master
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 # steam (and other high quality software) still ships 32 bit binaries
hardware.opengl.driSupport32Bit = lib.mkIf pkgs.stdenv.isx86_64 true; 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 QT_WAYLAND_DISABLE_WINDOWDECORATION=1
export SDL_VIDEODRIVER=wayland export SDL_VIDEODRIVER=wayland
export WLR_NO_HARDWARE_CURSORS=1 export WLR_NO_HARDWARE_CURSORS=1
export XDG_CURRENT_DESKTOP=sway
export _JAVA_AWT_WM_NONREPARENTING=1 export _JAVA_AWT_WM_NONREPARENTING=1
''; '';
}; };