From 5028286261c42f013158e8cd0631695460ef2687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sun, 18 Jun 2023 14:54:10 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20add=20v4l2=20kernel=20module?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/neodymium/hardware-configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/neodymium/hardware-configuration.nix b/hosts/neodymium/hardware-configuration.nix index ffd5974..a9c48ca 100644 --- a/hosts/neodymium/hardware-configuration.nix +++ b/hosts/neodymium/hardware-configuration.nix @@ -9,8 +9,8 @@ boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot.kernelModules = [ "kvm-amd" "v4l2loopback" ]; + boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; fileSystems."/" = { device = "/dev/disk/by-uuid/b0ea5f1f-104f-4026-840a-4d46f3e827d1";