11 lines
387 B
Nix
11 lines
387 B
Nix
|
# nixos-generate-config --root ./ --no-filesystems
|
||
|
{ config, lib, ... }:
|
||
|
{
|
||
|
boot.initrd.availableKernelModules = [ "xhci_pci" "sr_mod" ];
|
||
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||
|
|
||
|
networking.useDHCP = lib.mkDefault true;
|
||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
|
}
|