diff --git a/hosts/cube-hardware-configuration.nix b/hosts/cube-hardware-configuration.nix index cbacf92..9cfc148 100644 --- a/hosts/cube-hardware-configuration.nix +++ b/hosts/cube-hardware-configuration.nix @@ -6,32 +6,37 @@ { imports = [ (modulesPath + "/installer/scan/not-detected.nix") - ]; + ]; - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; + boot = { + initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; + initrd.kernelModules = [ ]; + kernelModules = [ + "kvm-amd" + "v4l2loopback" + ]; + extraModulePackages = [ pkgs.linuxPackages.v4l2loopback ]; + }; fileSystems."/" = { device = "/dev/disk/by-uuid/f0a69b93-3fdc-48ad-a288-a12ce1e3a205"; - fsType = "ext4"; - }; + fsType = "ext4"; + }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/0428-C12E"; - fsType = "vfat"; - }; + fsType = "vfat"; + }; fileSystems."/storage/family" = { device = "/dev/disk/by-uuid/896c11dc-d275-4992-99e6-fddc394a7bf1"; - fsType = "xfs"; - }; - + fsType = "xfs"; + }; + fileSystems."/storage/muhh" = { device = "/dev/disk/by-uuid/8b716713-359b-4bac-8951-a35405dccd4c"; - fsType = "xfs"; - }; + fsType = "xfs"; + }; swapDevices = [ ];