NixOS-Config/hosts/extern/hardware/default.nix

11 lines
388 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 "aarch64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}