feat: add OBS for screen sharing tests in local + fix screen sharing

This commit is contained in:
Xavier Morel
2025-10-21 11:32:50 +02:00
parent d60a6515b3
commit 7f91ae6c81
2 changed files with 9 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
{
inputs,
modulesPath,
pkgs,
...
}:
{
@@ -39,7 +40,10 @@
initrd.kernelModules = [ "amdgpu" ];
plymouth.enable = true;
};
programs.obs-studio = {
enable = true;
plugins = [ pkgs.obs-studio-plugins.wlrobs ];
};
hardware = {
sane.enable = true;
};

View File

@@ -35,6 +35,9 @@ in
"mako &"
"nm-applet --indicator &"
"$idlehandler"
"dbus-update-activation-environment --systemd --all" # WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
];
# decorations.conf
@@ -65,7 +68,7 @@ in
"XCURSOR_SIZE,24"
"QT_CURSOR_SIZE,24"
"XDG_CURRENT_DESKTOP, Hyprland"
"XDG_SESSION_TYPE, Hyprland"
"XDG_SESSION_TYPE, wayland" # Hyprland?
"XDG_SESSION_DESKTOP, Hyprland"
"GDK_BACKEND, wayland, x11"
"CLUTTER_BACKEND, wayland"