diff --git a/hosts/eva-01/hardware-configuration.nix b/hosts/eva-01/hardware-configuration.nix index c21c3d2..0af82a3 100644 --- a/hosts/eva-01/hardware-configuration.nix +++ b/hosts/eva-01/hardware-configuration.nix @@ -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; }