# PLACEHOLDER -- not generated by nixos-generate-config. # # This host has not been installed yet, so there is no real hardware scan to # commit. The values below are the conventional defaults for a Haswell UEFI # desktop and assume the install labels its partitions `nixos` (root, ext4) and # `BOOT` (ESP, vfat) -- see docs/hosts/console.md. They exist so the flake # evaluates in CI; they are not a description of the actual machine. # # Replace this whole file with the output of `nixos-generate-config` run on the # machine, and commit that. If the labels do not match, the boot fails loudly on # a missing device rather than touching the wrong disk. { config, lib, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; fileSystems."/boot" = { device = "/dev/disk/by-label/BOOT"; fsType = "vfat"; options = [ "fmask=0022" "dmask=0022" ]; }; swapDevices = [ ]; networking.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }