Add obs stuff

This commit is contained in:
2024-03-05 01:22:53 +01:00
parent 74311f01f8
commit 13d8a1b162
5 changed files with 18 additions and 6 deletions

View File

@@ -17,9 +17,10 @@
boot.loader.efi = { canTouchEfiVariables = true; };
# boot.extraModprobeConfig = ''
# options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
# '';
boot.extraModprobeConfig = ''
options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3"
options v4l2loopback exclusive_caps=1 card_label="Virtual Camera"
'';
# Networking stuff
networking.hostName = "gunter"; # Define your hostname.
@@ -102,6 +103,7 @@
usbutils
vim
wget
v4l-utils
# X shit
# xorg.xorgserver

View File

@@ -11,8 +11,10 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.kernelModules = [ "kvm-amd" "v4l2loopback" ];
boot.extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
];
fileSystems."/" =
{