From 538b882f83bea4aad3753cc89579c0a377cdccfb Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 28 Nov 2026 03:16:30 +0000 Subject: zu: replace the x220's hardware by its own --- systems/zu/hardware.nix | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 systems/zu/hardware.nix (limited to 'systems/zu/hardware.nix') diff --git a/systems/zu/hardware.nix b/systems/zu/hardware.nix new file mode 100644 index 00000000..f4ca49c9 --- /dev/null +++ b/systems/zu/hardware.nix @@ -0,0 +1,27 @@ +{ + imports = [ + ../../configs/smartd.nix + ]; + + # MSI MAG X870 TOMAHAWK WIFI. Wake on LAN from S3 needs the BIOS settings + # Wake Up Event By = BIOS and ErP Ready = Enabled. + boot.initrd.availableKernelModules = [ + "ahci" + "sd_mod" + "thunderbolt" + "xhci_pci" + "xhci_pci_prom21" + ]; + + boot.initrd.kernelModules = [ + "dm-snapshot" + ]; + + boot.kernelModules = [ + "kvm-amd" + "nct6683" # for sensors + ]; + + hardware.cpu.amd.updateMicrocode = true; + hardware.enableRedistributableFirmware = true; +} -- cgit v1.3.1