2021-09-29 16:27:02 +02:00
|
|
|
|
# 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.
|
2022-07-15 13:11:54 +02:00
|
|
|
|
{ config
|
|
|
|
|
, lib
|
|
|
|
|
, modulesPath
|
|
|
|
|
, ...
|
|
|
|
|
}: {
|
2021-09-29 16:58:28 +02:00
|
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2023-09-27 12:38:41 +02:00
|
|
|
|
boot = {
|
|
|
|
|
initrd = {
|
|
|
|
|
availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
|
|
|
|
kernelModules = [ ];
|
|
|
|
|
};
|
|
|
|
|
kernelModules = [ "kvm-amd" ];
|
|
|
|
|
extraModulePackages = [ ];
|
2021-09-29 16:58:28 +02:00
|
|
|
|
};
|
2021-09-29 16:27:02 +02:00
|
|
|
|
|
2022-01-24 11:18:34 +01:00
|
|
|
|
hardware.cpu.amd.updateMicrocode =
|
|
|
|
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2023-09-27 12:38:41 +02:00
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2021-09-29 16:27:02 +02:00
|
|
|
|
}
|