From 29f74e563909b16e48d9b1cb1258f540810597d0 Mon Sep 17 00:00:00 2001 From: Gabriella Bere Date: Sun, 15 Sep 2024 18:50:08 +0100 Subject: [PATCH] add v4l2loopback to gabbielaptop/configuration.nix to allow OBS virtual camera use --- hosts/gabbielaptop/configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/gabbielaptop/configuration.nix b/hosts/gabbielaptop/configuration.nix index 2c10bf8..3eb8500 100644 --- a/hosts/gabbielaptop/configuration.nix +++ b/hosts/gabbielaptop/configuration.nix @@ -37,7 +37,8 @@ "video=eDP-2:2560x1200@165" ]; - boot.initrd.kernelModules = [ "amdgpu" ]; + boot.initrd.kernelModules = [ "amdgpu" "v4l2loopback" ]; + boot.extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ]; networking.hostName = "gabbielaptop"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.