mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-12-01 06:31:09 +01:00
Add ASRock Rack ALTRAD8UD-1L2T
This commit is contained in:
parent
899dc449bc
commit
d7e4ed37ce
5 changed files with 93 additions and 0 deletions
36
common/networking/intel/x550/default.nix
Normal file
36
common/networking/intel/x550/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
# The x550 supports 5G but the driver does not enable it by default
|
||||
# https://forum.proxmox.com/threads/x550-x550-t2-duplex-auto-negotiation.116776/
|
||||
{
|
||||
systemd.network.links."80-x550" = {
|
||||
matchConfig = {
|
||||
Driver = "ixgbe";
|
||||
Property = [
|
||||
"ID_MODEL_ID=0x1563"
|
||||
"ID_VENDOR_ID=0x8086"
|
||||
];
|
||||
};
|
||||
linkConfig.Advertise = [
|
||||
"100baset-full"
|
||||
"1000baset-full"
|
||||
"2500baset-full"
|
||||
"5000baset-full"
|
||||
"10000baset-full"
|
||||
];
|
||||
linkConfig.NamePolicy = [
|
||||
"keep"
|
||||
"kernel"
|
||||
"database"
|
||||
"onboard"
|
||||
"slot"
|
||||
"path"
|
||||
];
|
||||
linkConfig.AlternativeNamesPolicy = [
|
||||
"database"
|
||||
"onboard"
|
||||
"slot"
|
||||
"path"
|
||||
"mac"
|
||||
];
|
||||
linkConfig.MACAddressPolicy = "persistent";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue