From 4bd6934a050e4a047a470985c753b1362feaa290 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Mon, 8 Feb 2016 12:24:29 +0100 Subject: [PATCH] Initial commit Module for SuperMicro A1SRI-2758F --- README.md | 16 ++++++++++++++++ supermicro/a1sri-2758f.nix | 8 ++++++++ 2 files changed, 24 insertions(+) create mode 100644 README.md create mode 100644 supermicro/a1sri-2758f.nix 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"; +}