{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/installer/scan/not-detected.nix") # TODO is this necessary? ./cpu.nix ./gpu.nix ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; system.fileSystemLayouts = { enable = true; mainDisk = "/dev/sda2"; # mainDisk = "/dev/disk/by-uuid/c8de0e7a-6e60-46bf-9244-75987a1e2780"; efiDisk = "/dev/sda1"; # efiDisk = "/dev/disk/by-uuid/BFBA-9E3F"; }; boot = { kernelModules = ["kvm-amd"]; # TODO check this: initrd.availableKernelModules = ["xhci_pci" "nvme" "rtsx_pci_sdmmc"]; }; }