From 7c549b8c78ac1c9d73e848af806ea24af969cbd2 Mon Sep 17 00:00:00 2001 From: reidlab Date: Sun, 14 Jun 2026 14:59:08 -0700 Subject: [PATCH] v4l2->v4l2loopback --- hosts/flubber-machine/default.nix | 2 +- modules/core/kernel.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts/flubber-machine/default.nix b/hosts/flubber-machine/default.nix index cdcb241..79dbab2 100755 --- a/hosts/flubber-machine/default.nix +++ b/hosts/flubber-machine/default.nix @@ -48,7 +48,7 @@ modules = { core = { # kernel - kernel.v4l2 = true; + kernel.v4l2loopback = true; kernel.zswap = true; # security security.useDoas = true; diff --git a/modules/core/kernel.nix b/modules/core/kernel.nix index c445198..3377ded 100644 --- a/modules/core/kernel.nix +++ b/modules/core/kernel.nix @@ -6,7 +6,7 @@ let in { options.modules.core.kernel = { zswap = mkEnableOption "Enable zswap, a compressed RAM cache for swap pages"; - v4l2 = mkEnableOption "Enable support for v4l2 loopback devices"; + v4l2loopback = mkEnableOption "Enable support for v4l2 loopback devices"; }; config = mkMerge [ @@ -22,7 +22,7 @@ in { "zswap.zpool=zsmalloc" ]; }) - (mkIf cfg.v4l2 { + (mkIf cfg.v4l2loopback { boot.kernelModules = [ "v4l2loopback" ]; boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; })