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

30 lines
701 B
Nix
Raw Permalink Normal View History

2024-10-20 18:56:59 -04:00
{ config, lib, pkgs, modulesPath, ... }:
{
boot = {
kernelModules = [ "kvm-amd" ];
2024-10-20 18:56:59 -04:00
initrd = {
availableKernelModules = [
"xhci_pci"
"ahci"
"ehci_pci"
"sd_mod"
"sr_mod"
"sdhci_pci"
"rtsx_usb_sdmmc"
];
};
};
fileSystems = {
2024-10-20 20:02:21 -04:00
"/home/jimbo/JimboNFS" = {
device = "${config.ips.wgSpan}.1:/export/JimboNFS";
fsType = "nfs4";
options = ["x-systemd.automount" "_netdev" "nofail" "noauto"];
};
2024-10-20 18:56:59 -04:00
};
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}