{
  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/disk/by-uuid/1304e375-36ab-49da-846b-5337cb516b0f";
    efiDisk = "/dev/disk/by-uuid/6B08-6E94";
  };

  boot = {
    kernelModules = ["kvm-amd"];

    # TODO check this:
    initrd.availableKernelModules = ["xhci_pci" "nvme" "rtsx_pci_sdmmc"];
  };
}