feat: add OBS for screen sharing tests in local + fix screen sharing
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
inputs,
|
inputs,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
@@ -39,7 +40,10 @@
|
|||||||
initrd.kernelModules = [ "amdgpu" ];
|
initrd.kernelModules = [ "amdgpu" ];
|
||||||
plymouth.enable = true;
|
plymouth.enable = true;
|
||||||
};
|
};
|
||||||
|
programs.obs-studio = {
|
||||||
|
enable = true;
|
||||||
|
plugins = [ pkgs.obs-studio-plugins.wlrobs ];
|
||||||
|
};
|
||||||
hardware = {
|
hardware = {
|
||||||
sane.enable = true;
|
sane.enable = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -35,6 +35,9 @@ in
|
|||||||
"mako &"
|
"mako &"
|
||||||
"nm-applet --indicator &"
|
"nm-applet --indicator &"
|
||||||
"$idlehandler"
|
"$idlehandler"
|
||||||
|
"dbus-update-activation-environment --systemd --all" # WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||||
|
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# decorations.conf
|
# decorations.conf
|
||||||
@@ -65,7 +68,7 @@ in
|
|||||||
"XCURSOR_SIZE,24"
|
"XCURSOR_SIZE,24"
|
||||||
"QT_CURSOR_SIZE,24"
|
"QT_CURSOR_SIZE,24"
|
||||||
"XDG_CURRENT_DESKTOP, Hyprland"
|
"XDG_CURRENT_DESKTOP, Hyprland"
|
||||||
"XDG_SESSION_TYPE, Hyprland"
|
"XDG_SESSION_TYPE, wayland" # Hyprland?
|
||||||
"XDG_SESSION_DESKTOP, Hyprland"
|
"XDG_SESSION_DESKTOP, Hyprland"
|
||||||
"GDK_BACKEND, wayland, x11"
|
"GDK_BACKEND, wayland, x11"
|
||||||
"CLUTTER_BACKEND, wayland"
|
"CLUTTER_BACKEND, wayland"
|
||||||
|
|||||||
Reference in New Issue
Block a user