summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ilex/hardware-configuration.nix7
1 files 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";