Add obs stuff
This commit is contained in:
parent
74311f01f8
commit
13d8a1b162
@ -12,6 +12,7 @@
|
||||
./programs/dunst
|
||||
./programs/kitty
|
||||
./programs/rofi
|
||||
./programs/obs-studio
|
||||
./scripts
|
||||
./zsh
|
||||
./packages
|
||||
|
@ -18,7 +18,6 @@
|
||||
ncdu
|
||||
nwg-look
|
||||
mumble
|
||||
obs-studio
|
||||
pamixer
|
||||
pinentry
|
||||
pre-commit
|
||||
|
8
home/programs/obs-studio/default.nix
Normal file
8
home/programs/obs-studio/default.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ pkgs, ... }: {
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-backgroundremoval
|
||||
];
|
||||
};
|
||||
}
|
@ -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
|
||||
|
@ -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."/" =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user