This commit is contained in:
암냥 2026-08-16 20:03:47 +09:00
commit ab3a5296a0
No known key found for this signature in database
13 changed files with 199 additions and 50 deletions

View file

@ -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";
}