mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-23 03:19:42 +01:00
inversepath/usbarmory: drop inappropriate comment
This commit is contained in:
parent
f35389f469
commit
4570276556
1 changed files with 1 additions and 2 deletions
|
@ -24,12 +24,11 @@ in
|
|||
|
||||
services.udev.extraRules =
|
||||
''SUBSYSTEM=="net", ACTION=="add", ATTRS{idVendor}=="0525", ATTRS{idProduct}=="a4a2", NAME="${staticDevName}"'';
|
||||
# systemshit will probably still leave an a interface with a garbage name around
|
||||
|
||||
networking =
|
||||
{ interfaces."${staticDevName}".ip4 = [{ address = "10.0.0.2"; prefixLength = 24; }];
|
||||
nat = { enable = true; internalInterfaces = [ staticDevName ]; };
|
||||
extraHosts = "10.0.0.1 armory";
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue