xin/hosts/router/hardware-configuration.nix

36 lines
910 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-09-12 08:44:05 -06:00
{ config
, lib
, modulesPath
, ...
2023-07-11 09:12:50 -06:00
}: {
2023-09-12 08:44:05 -06:00
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2022-10-04 21:17:52 -06:00
2023-09-12 08:44:05 -06:00
boot.loader.grub = {
enable = true;
device = "/dev/sda";
useOSProber = true;
};
2022-10-14 16:55:25 -06:00
2023-09-12 08:44:05 -06:00
boot = {
initrd = {
availableKernelModules = [ "ehci_pci" "ahci" "xhci_pci" "usb_storage" "usbhid" "sd_mod" ];
kernelModules = [ ];
};
kernelModules = [ "nf_tables" "nf_tables_ipv6" "nf_conntrack_tftp" ];
extraModulePackages = [ ];
};
2022-10-04 21:17:52 -06:00
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
2023-09-12 08:44:05 -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
}