wow
This commit is contained in:
parent
4d3e1beaf6
commit
ab3a5296a0
13 changed files with 199 additions and 50 deletions
|
|
@ -1,10 +1,11 @@
|
|||
{ pkgs, inputs, ... }:
|
||||
{ lib, pkgs, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
"${inputs.self}/modules/mizukios/base"
|
||||
"${inputs.self}/modules/mizukios/features/system/boot.nix"
|
||||
"${inputs.self}/modules/mizukios/features/system/sbctl.nix"
|
||||
"${inputs.self}/modules/mizukios/features/fonts.nix"
|
||||
"${inputs.self}/modules/mizukios/features/packages.nix"
|
||||
"${inputs.self}/modules/mizukios/features/plasma.nix"
|
||||
|
|
@ -66,5 +67,18 @@
|
|||
|
||||
hardware.nvidia-container-toolkit.enable = true;
|
||||
|
||||
programs.obs-studio = {
|
||||
# OBS itself is managed by Home Manager; enable the NixOS module so it
|
||||
# installs and loads v4l2loopback for the virtual camera.
|
||||
enable = true;
|
||||
package = null;
|
||||
enableVirtualCamera = true;
|
||||
};
|
||||
|
||||
# video0 and video1 are occupied by the physical camera devices.
|
||||
boot.extraModprobeConfig = lib.mkForce ''
|
||||
options v4l2loopback devices=1 video_nr=2 card_label="OBS Cam" exclusive_caps=1
|
||||
'';
|
||||
|
||||
system.stateVersion = "26.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue