Add obs stuff

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

View File

@ -12,6 +12,7 @@
./programs/dunst
./programs/kitty
./programs/rofi
./programs/obs-studio
./scripts
./zsh
./packages

View File

@ -18,7 +18,6 @@
ncdu
nwg-look
mumble
obs-studio
pamixer
pinentry
pre-commit

View File

@ -0,0 +1,8 @@
{ pkgs, ... }: {
programs.obs-studio = {
enable = true;
plugins = with pkgs.obs-studio-plugins; [
obs-backgroundremoval
];
};
}

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."/" =
{