supermicro/a1sri-2758f: fix evaluation, drop old kernel notes

This commit is contained in:
Yegor Timoshenko 2017-12-24 12:35:46 +00:00
parent f62ead1ce0
commit 95c8873c41
No known key found for this signature in database
GPG Key ID: C34BF9DCC9DF8210
1 changed files with 2 additions and 13 deletions

View File

@ -1,20 +1,9 @@
# 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, ... }:
{ pkgs, ... }:
{
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'';
};
environment.systemPackages = [ pkgs.ipmitool ];
}