diff options
author | stuebinm | 2023-02-20 21:19:49 +0100 |
---|---|---|
committer | stuebinm | 2023-02-20 21:19:49 +0100 |
commit | 5f736d2d041a2debd6b0b33a0b26e98947d1a81c (patch) | |
tree | 0dcd225a364a7e63efdb829678a5c2ac833327f1 /ilex | |
parent | 78644e7fb3865524085a972e0bb3e6ead3ba39e2 (diff) |
ilex: add v4l2loopback
Diffstat (limited to 'ilex')
-rw-r--r-- | ilex/hardware-configuration.nix | 7 |
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"; |