WIP: screen sharing
This commit is contained in:
parent
617fc28668
commit
77ee9a2d0c
|
@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue