xin/hosts/router/hardware-configuration.nix

29 lines
913 B
Nix
Raw Normal View History

2022-10-04 21:17:52 -06:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
2023-03-22 10:35:46 -06:00
{ config, lib, modulesPath, ... }:
2022-10-04 21:17:52 -06:00
{
2022-10-04 21:57:49 -06:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2022-10-04 21:17:52 -06:00
2022-10-14 16:55:25 -06:00
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
2022-10-04 21:57:49 -06:00
boot.initrd.availableKernelModules =
[ "ehci_pci" "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" ];
2022-10-04 21:17:52 -06:00
boot.initrd.kernelModules = [ ];
2022-12-06 21:47:41 -07:00
boot.kernelModules = [ "nf_tables" "nf_tables_ipv6" "nf_conntrack_tftp" ];
2022-10-04 21:17:52 -06:00
boot.extraModulePackages = [ ];
2022-10-04 21:57:49 -06:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/4c84fd36-f143-4db8-bfe5-65de0287f894";
2022-10-04 21:57:49 -06:00
fsType = "ext4";
};
2022-10-04 21:17:52 -06:00
swapDevices = [ ];
2022-10-04 21:17:52 -06:00
2022-10-04 21:57:49 -06:00
hardware.cpu.intel.updateMicrocode =
lib.mkDefault config.hardware.enableRedistributableFirmware;
2022-10-04 21:17:52 -06:00
}