2024-12-09 04:12:16 +00: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.
|
|
|
|
|
|
{
|
|
|
|
|
|
config,
|
|
|
|
|
|
lib,
|
|
|
|
|
|
pkgs,
|
|
|
|
|
|
modulesPath,
|
|
|
|
|
|
...
|
|
|
|
|
|
}: {
|
|
|
|
|
|
imports = [
|
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
|
];
|
|
|
|
|
|
|
2024-12-15 21:16:43 -08:00
|
|
|
|
boot = {
|
|
|
|
|
|
initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "uas" "usbhid" "sd_mod"];
|
2025-08-09 11:48:55 -05:00
|
|
|
|
kernelModules = ["amdgpu" "coretemp" "kvm-amd"];
|
2024-12-15 21:16:43 -08:00
|
|
|
|
};
|
2024-12-09 04:12:16 +00:00
|
|
|
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
|
}
|