This commit is contained in:
Zastian Pretorius
2025-07-01 14:40:29 +01:00
parent 211c361c9b
commit f006323bd0
9 changed files with 168 additions and 48 deletions

View File

@@ -25,7 +25,9 @@
])
];
kernelPackages = pkgs.linuxPackages_zen;
kernelPackages = pkgs.linuxPackages_latest;
kernelModules = [ "v4l2loopback" ];
extraModulePackages = [ pkgs.linuxPackages_latest.v4l2loopback ];
kernelParams = lib.mkMerge [
(lib.mkIf (systemName == "laptop") [
"ipv6e=1"
@@ -36,6 +38,9 @@
"ipv6e=1"
])
];
extraModprobeConfig = ''
options v4l2loopback devices=2 video_nr=1,0 card_label="OBS Cam","phone cam" exclusive_caps=1,1
'';
plymouth = {
enable = true;