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

12 lines
448 B
Nix
Raw Normal View History

2024-11-24 09:55:02 -05:00
# nixos-generate-config --root ./ --no-filesystems
{ config, lib, ... }:
{
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;
}