nixos-config/hosts/tower/hardware/default.nix

14 lines
530 B
Nix
Raw Permalink Normal View History

2024-11-24 09:55:02 -05:00
# nixos-generate-config --root ./ --no-filesystems
2024-12-25 02:15:43 -05:00
{ config, lib, modulesPath, ... }:
{
2024-12-25 02:15:43 -05:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
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;
}