2024-11-24 09:55:02 -05:00
|
|
|
# nixos-generate-config --root ./ --no-filesystems
|
|
|
|
{ config, lib, ... }:
|
2024-10-18 16:26:44 -04:00
|
|
|
{
|
2024-11-24 09:55:02 -05:00
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "sd_mod" ];
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
2024-08-24 22:16:51 -04:00
|
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
}
|