eva-01 fixes

This commit is contained in:
2026-06-22 02:07:33 -04:00
parent 1f0ec904c0
commit 7b88c58e8f
+6 -12
View File
@@ -1,10 +1,6 @@
# Hardware profile for eva-01 (ThinkPad X1 Nano Gen 1).
#
# Filesystems, swap, and boot-related disk config are intentionally NOT
# declared here — they are owned by disko via ./disko-config.nix, which
# sets config.fileSystems / config.swapDevices / config.boot when
# disko.enableConfig = true (the default). Keep this file limited to
# kernel modules and platform settings that disko does not manage.
## 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.
{
config,
lib,
@@ -16,13 +12,11 @@
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "uas" "sd_mod"];
boot.initrd.kernelModules = ["btrfs"];
boot.kernelModules = ["kvm-intel"];
boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}