From f5427c7aea39228d77b3b7bd8c01f7327316080c Mon Sep 17 00:00:00 2001 From: matt1432 Date: Thu, 21 Sep 2023 17:10:25 -0400 Subject: [PATCH] feat: add OBS with wayland support --- nixos/cfg/boot.nix | 4 ++++ nixos/home/packages.nix | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/nixos/cfg/boot.nix b/nixos/cfg/boot.nix index 8d0ff890..ee0b95e3 100644 --- a/nixos/cfg/boot.nix +++ b/nixos/cfg/boot.nix @@ -22,6 +22,10 @@ timeout = 2; }; + extraModulePackages = with config.boot.kernelPackages; [ + v4l2loopback + ]; + kernelModules = [ "kvm-amd" ]; kernelParams = [ diff --git a/nixos/home/packages.nix b/nixos/home/packages.nix index d91042dd..8d4239fd 100644 --- a/nixos/home/packages.nix +++ b/nixos/home/packages.nix @@ -10,6 +10,13 @@ programs = { + obs-studio = { + enable = true; + plugins = with pkgs.obs-studio-plugins; [ + wlrobs + ]; + }; + btop.enable = true; jq.enable = true;