From 5f736d2d041a2debd6b0b33a0b26e98947d1a81c Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 20 Feb 2023 21:19:49 +0100 Subject: ilex: add v4l2loopback --- ilex/hardware-configuration.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ilex/hardware-configuration.nix b/ilex/hardware-configuration.nix index 33eee40..83f6412 100644 --- a/ilex/hardware-configuration.nix +++ b/ilex/hardware-configuration.nix @@ -8,10 +8,11 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" "v4l2loopback" ]; + boot.initrd.kernelModules = [ "v4l2loopback" ]; boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ]; + fileSystems."/" = { device = "/dev/disk/by-uuid/7f142287-459f-494b-8b84-4fa4f415cf5a"; -- cgit v1.2.3