summaryrefslogtreecommitdiffstats
path: root/supermicro
diff options
context:
space:
mode:
authorEmery Hemingway <emery@vfemail.net>2016-02-23 18:32:53 +0100
committerEmery <emery@v36.space>2016-02-23 19:20:28 +0100
commit8bf98661f4bdf63568ecf27afd205c6d8fe4602b (patch)
tree8a33db652119e86c1290986b406d846a2e3e7c52 /supermicro
parent6fe0bd9d014a202fad36135e7ef5c656d67fcc03 (diff)
add hardware-notes module for documentation
Fixes #3
Diffstat (limited to 'supermicro')
-rw-r--r--supermicro/a1sri-2758f.nix20
1 files changed, 17 insertions, 3 deletions
diff --git a/supermicro/a1sri-2758f.nix b/supermicro/a1sri-2758f.nix
index 3471704..b199bf1 100644
--- a/supermicro/a1sri-2758f.nix
+++ b/supermicro/a1sri-2758f.nix
@@ -6,11 +6,25 @@
{ pkgs, ... }:
{
+ imports = [ ../lib/hardware-notes.nix ];
+
environment.systemPackages = [ pkgs.ipmitool ];
boot.kernelModules = [ "ipmi_devintf" "ipmi_si" ];
- # The Linux NIC driver seems to have faulty link state reporting
- # that causes dhcpcd to release every few seconds, which is
- # more annoying than not releasing when a cable is unplugged.
networking.dhcpcd.extraConfig = "nolink";
+
+ hardwareNotes =
+ [ { title = "IPMI";
+ text = "Load IPMI kernel modules and ipmitool to system environment.";
+ }
+ { title = "Nolink";
+ text =
+ ''
+ Interface link state detection is disabled in dhcpcd because
+ the Linux driver seems to send erronous loss of link messages
+ that cause dhcpcd to release every few seconds, which is
+ more annoying than not releasing when a cable is unplugged.
+ '';
+ }
+ ];
}