about summary refs log tree commit diff
path: root/supermicro/a1sri-2758f
diff options
context:
space:
mode:
authorYegor Timoshenko <yegortimoshenko@gmail.com>2017-12-22 20:17:00 +0300
committerzimbatm <zimbatm@zimbatm.com>2017-12-22 17:17:00 +0000
commit3c9f432a7146115b2d0b6200c4c19101c29caaba (patch)
tree0e0a9c6ab58f8eda82624a5b7f7238fefb6244ed /supermicro/a1sri-2758f
parent3f2fbacb216c8905f8ca15d2c24fe95472fb9ab2 (diff)
downloadnixlib-3c9f432a7146115b2d0b6200c4c19101c29caaba.tar
nixlib-3c9f432a7146115b2d0b6200c4c19101c29caaba.tar.gz
nixlib-3c9f432a7146115b2d0b6200c4c19101c29caaba.tar.bz2
nixlib-3c9f432a7146115b2d0b6200c4c19101c29caaba.tar.lz
nixlib-3c9f432a7146115b2d0b6200c4c19101c29caaba.tar.xz
nixlib-3c9f432a7146115b2d0b6200c4c19101c29caaba.tar.zst
nixlib-3c9f432a7146115b2d0b6200c4c19101c29caaba.zip
treewide: modules -> profiles, separate dirs, list in README (#29)
Enforce proper naming: all paths are lowercase and hyphen-separated,
if there's a line of models (aspire, macbook-pro, thinkpad) it becomes
a subdirectory. Documentation for profiles is moved to README files in
respective directories.

Add an Org mode table that lists all available profiles and their paths.

Instead of fetching repo locally, use a Nix channel. Making hardware
profiles read-only should improve quality and amount of participation
long-term.
Diffstat (limited to 'supermicro/a1sri-2758f')
-rw-r--r--supermicro/a1sri-2758f/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/supermicro/a1sri-2758f/default.nix b/supermicro/a1sri-2758f/default.nix
new file mode 100644
index 000000000000..c16c093936e2
--- /dev/null
+++ b/supermicro/a1sri-2758f/default.nix
@@ -0,0 +1,20 @@
+# http://www.supermicro.com/products/motherboard/Atom/X10/A1SRi-2758F.cfm
+#
+# This board contains a TPM header, but you must supply your own module.
+#
+
+{ pkgs, lib, ... }:
+
+{
+  imports = [ ../lib/kernel-version.nix ];
+
+  environment.systemPackages = [ pkgs.ipmitool ];
+  boot.kernelModules = [ "ipmi_devintf" "ipmi_si" ];
+
+  kernelAtleast = lib.singleton
+    { version = "4.4";
+      msg =
+        "ethernet driver may be buggy on older kernels, "+
+        ''try 'networking.dhcpcd.extraConfig = "nolink";' if you encounter loss of link problems'';
+    };
+}