2025-02-05 17:42:11 -08: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.
|
2025-02-06 13:25:24 -08:00
|
|
|
|
{ ... }: {
|
|
|
|
|
boot = {
|
|
|
|
|
initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
|
|
|
|
initrd.kernelModules = [ ];
|
|
|
|
|
kernelModules = [ "kvm-amd" ];
|
|
|
|
|
extraModulePackages = [ ];
|
2025-02-05 17:42:11 -08:00
|
|
|
|
};
|
|
|
|
|
|
2025-02-06 13:25:24 -08:00
|
|
|
|
swapDevices = [
|
|
|
|
|
{ device = "/.swapfile"; size = 32*1024;}
|
|
|
|
|
];
|
2025-02-05 17:42:11 -08:00
|
|
|
|
|
2025-02-06 13:25:24 -08:00
|
|
|
|
nixpkgs.hostPlatform = "x86_64-linux";
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
2025-02-05 17:42:11 -08:00
|
|
|
|
}
|