blob: 50f032504a1640c11c353e78ecdb6de427a8a177 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# PLACEHOLDER - Generate on actual ThinkPad X220 hardware with:
# sudo nixos-generate-config --show-hardware-config > hosts/mystra/hardware-configuration.nix
#
# ThinkPad X220 Expected Hardware:
# - Intel Core i5-2520M (2nd gen Sandy Bridge)
# - Intel HD Graphics 3000 (i915 driver)
# - 4-8GB DDR3 RAM
# - SATA SSD/HDD storage
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
# Placeholder - replace with actual hardware scan results
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "usb_storage" "sd_mod" ];
boot.kernelModules = [ "kvm-intel" ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/PLACEHOLDER";
fsType = "ext4";
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}
|