diff options
| author | tv <tv@krebsco.de> | 2026-11-28 03:16:30 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-28 04:32:36 +0100 |
| commit | 538b882f83bea4aad3753cc89579c0a377cdccfb (patch) | |
| tree | 8f585fed4fbd3bbb4c637637a17044a7f383b236 /systems/zu/hardware.nix | |
| parent | 4cb3be36196ac7eacd9e40a93ff1321edb112ecb (diff) | |
zu: replace the x220's hardware by its own
Diffstat (limited to 'systems/zu/hardware.nix')
| -rw-r--r-- | systems/zu/hardware.nix | 27 |
1 files changed, 27 insertions, 0 deletions
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; +} |
