# Hardware configuration { modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-label/boot"; fsType = "vfat"; }; swapDevices = [ { device = "/dev/disk/by-label/swap"; } ]; my.hardware = { firmware = { cpuFlavor = "intel"; }; }; }