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/dunst
./programs/kitty ./programs/kitty
./programs/rofi ./programs/rofi
./programs/obs-studio
./scripts ./scripts
./zsh ./zsh
./packages ./packages

View File

@ -18,7 +18,6 @@
ncdu ncdu
nwg-look nwg-look
mumble mumble
obs-studio
pamixer pamixer
pinentry pinentry
pre-commit 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.loader.efi = { canTouchEfiVariables = true; };
# boot.extraModprobeConfig = '' boot.extraModprobeConfig = ''
# options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x1; PerfLevelSrc=0x2222; PowerMizerLevel=0x3; PowerMizerDefault=0x3; PowerMizerDefaultAC=0x3" 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 stuff
networking.hostName = "gunter"; # Define your hostname. networking.hostName = "gunter"; # Define your hostname.
@ -102,6 +103,7 @@
usbutils usbutils
vim vim
wget wget
v4l-utils
# X shit # X shit
# xorg.xorgserver # xorg.xorgserver

View File

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