diff --git a/hosts/ArcticFox/hardware-configuration.nix b/hosts/ArcticFox/hardware-configuration.nix index e9d9104..3874afe 100644 --- a/hosts/ArcticFox/hardware-configuration.nix +++ b/hosts/ArcticFox/hardware-configuration.nix @@ -14,7 +14,13 @@ boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod"]; boot.kernelModules = ["kvm-amd" "amdgpu"]; - boot.extraModulePackages = []; + boot.extraModulePackages = with config.boot.kernelPackages; [ + v4l2loopback + ]; + boot.extraModprobeConfig = '' + options v4l2loop devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1 + ''; + security.polkit.enable = true; fileSystems."/" = { device = "/dev/disk/by-uuid/50366080-c1da-4726-b930-e5cd619afaaa";