add obs
This commit is contained in:
@@ -103,6 +103,7 @@
|
||||
./modules/graphical/hyprland.nix
|
||||
./modules/graphical/emulators.nix
|
||||
./modules/graphical/gamemode.nix
|
||||
./modules/graphical/obs.nix
|
||||
./modules/graphical/shared.nix
|
||||
./modules/hardware/nvidia.nix
|
||||
./modules/hardware/ssd.nix
|
||||
|
||||
@@ -203,7 +203,7 @@ in
|
||||
"$mainMod, E, exec, ${thunar}"
|
||||
"$mainMod, V, togglefloating"
|
||||
"$mainMod, I, exec, ${rofi} -show drun -show-icons"
|
||||
"$mainMod, S, exec, cat ~/songs | shuf -n 0 | sed \"s/^/b\.p /g\" | ${wl-copy}"
|
||||
"$mainMod, S, exec, cat ~/songs | shuf -n 1 | sed \"s/^/b\.p /g\" | ${wl-copy}"
|
||||
"$mainMod, R, exec, ${swww} img $(ls -d ~/Nextcloud/dinge/Bg/* | shuf -n 1)"
|
||||
" , Print, exec, ${grim} -g \"$(${slurp} -d)\" - | ${wl-copy}"
|
||||
"ALT, SPACE, exec, ${rofi} -show combi"
|
||||
|
||||
15
modules/graphical/obs.nix
Normal file
15
modules/graphical/obs.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ config, pkgs, ...}:
|
||||
{
|
||||
boot = {
|
||||
kernelModules = ["v4l2loopback"]; # Autostart kernel modules on boot
|
||||
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback]; # loopback module to make OBS virtual camera work
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
(wrapOBS {
|
||||
plugins = with obs-studio-plugins; [
|
||||
obs-pipewire-audio-capture
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
@@ -64,11 +64,6 @@ in
|
||||
brightnessctl
|
||||
wacomtablet
|
||||
osu-lazer-bin
|
||||
(wrapOBS {
|
||||
plugins = with obs-studio-plugins; [
|
||||
obs-pipewire-audio-capture
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
#environment.sessionVariables = {
|
||||
|
||||
Reference in New Issue
Block a user