nichts/hosts/temperance/hardware-configuration.nix
Bloxx12 fcb5ee3581
temperance: remove nixpkgs.hostPlatform
This option does not exist anymore since I set nixpkgs' pkgs
value, which disables most options.

Signed-off-by: Bloxx12 <charlie@charlieroot.dev>
Change-Id: I6a6a6964fb25569eef1b0ae547b724a36a71bc95
2025-07-21 00:26:21 +02:00

31 lines
900 B
Nix

{
config,
lib,
modulesPath,
...
}:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usbhid"
"sd_mod"
];
initrd.kernelModules = [ ];
kernelModules = [ ];
extraModulePackages = [ ];
};
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp4s0.useDHCP = lib.mkDefault true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}