nixos-config/hosts/anvil/hardware-configuration.nix

43 lines
1.6 KiB
Nix
Raw Normal View History

2026-03-08 12:46:25 -07: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.
2026-02-11 05:13:20 -08:00
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
2026-03-08 12:46:25 -07:00
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "uas" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2026-02-11 05:13:20 -08:00
2026-03-08 12:46:25 -07:00
fileSystems."/" =
{ device = "/dev/disk/by-uuid/378fb925-59d8-4128-827e-ccf3b95dc1cd";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-c5329739-af6f-4b31-b4e6-62e3045e1789".device = "/dev/disk/by-uuid/c5329739-af6f-4b31-b4e6-62e3045e1789";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/AFB2-F027";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/3e515b22-e746-4df6-b92e-d734ec250571"; }
];
# 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.wlp0s20f3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2026-02-11 05:13:20 -08:00
}