summaryrefslogtreecommitdiffstats
path: root/systems/zu/hardware.nix
diff options
context:
space:
mode:
Diffstat (limited to 'systems/zu/hardware.nix')
-rw-r--r--systems/zu/hardware.nix27
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;
+}