summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md16
-rw-r--r--supermicro/a1sri-2758f.nix8
2 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..8d70cb0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,16 @@
+A collection of NixOS modules covering hardware quirks.
+
+Modules should favor usability and stability, so performance hacks
+should be activated by an additional a NixOS option or conservative
+and performance configs can be declared in seperate modules.
+
+## Usage
+The simplest way to use this repo for now is to clone locally and include by path:
+``` nix
+{ config, pkgs, ... }:
+
+{
+ imports =
+ [ /home/user/nixos-hardware/acme/thunkpad-2000.nix ];
+}
+'''
diff --git a/supermicro/a1sri-2758f.nix b/supermicro/a1sri-2758f.nix
new file mode 100644
index 0000000..d2aeb94
--- /dev/null
+++ b/supermicro/a1sri-2758f.nix
@@ -0,0 +1,8 @@
+# http://www.supermicro.com/products/motherboard/Atom/X10/A1SRi-2758F.cfm
+
+{ ... }:
+
+{
+ # The Linux NIC driver doesn't properly report link status.
+ networking.dhcpcd.extraConfig = "nolink";
+}