{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; # basic drivers boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ]; # Intel CPU boot.kernelModules = [ "kvm-intel" ]; hardware.cpu.intel.updateMicrocode = true; # Intel graphics boot.initrd.kernelModules = [ "i915" ]; # /boot efi partition to boot in UEFI mode fileSystems."/boot" = { device = "UUID=28FC-CA9F"; fsType = "vfat"; neededForBoot = true; options = [ "fmask=0022" "dmask=0022" ]; }; # /nix volume with the system & all persistent data fileSystems."/nix" = { device = "UUID=5e0f8758-12f6-4262-90c7-e633a28f8b6e"; fsType = "bcachefs"; neededForBoot = true; }; }