{ modulesPath, ... }: { imports = [ "${modulesPath}/installer/scan/not-detected.nix" ]; nixpkgs.hostPlatform = "x86_64-linux"; boot = { initrd.availableKernelModules = [ "ahci" "ohci_pci" "ehci_pci" "pata_atiixp" "mpt3sas" "usbhid" "usb_storage" "sd_mod" "sr_mod" ]; kernelModules = [ "kvm-amd" ]; loader.grub.enable = true; }; hardware.enableRedistributableFirmware = true; hardware.cpu.intel.updateMicrocode = true; disko.devices = { disk = { root = { type = "disk"; device = "/dev/disk/by-path/pci-0000:01:00.0-scsi-0:1:0:0"; imageSize = "32G"; content = { type = "gpt"; partitions = { boot = { size = "1M"; type = "EF02"; }; ESP = { size = "512M"; type = "EF00"; content = { type = "filesystem"; format = "vfat"; mountpoint = "/boot"; mountOptions = [ "umask=0077" ]; }; }; root = { size = "100%"; content = { type = "filesystem"; format = "ext4"; mountpoint = "/"; }; }; }; }; }; }; }; }