# Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. { config, lib, modulesPath, ... }: { imports = [(modulesPath + "/installer/scan/not-detected.nix")]; boot = { loader = { # Use the systemd-boot EFI boot loader. systemd-boot = { enable = true; configurationLimit = config.hostSpec.bootHistoryLimit; }; efi.canTouchEfiVariables = true; }; initrd = { availableKernelModules = ["nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod"]; kernelModules = []; }; kernelModules = ["kvm-amd"]; extraModulePackages = []; }; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }