1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-11-23 11:29:42 +01:00

inversepath/usbarmory: drop inappropriate comment

This commit is contained in:
Yegor Timoshenko 2017-12-24 14:12:06 +00:00
parent f35389f469
commit 4570276556
No known key found for this signature in database
GPG key ID: C34BF9DCC9DF8210

View file

@ -24,12 +24,11 @@ in
services.udev.extraRules = services.udev.extraRules =
''SUBSYSTEM=="net", ACTION=="add", ATTRS{idVendor}=="0525", ATTRS{idProduct}=="a4a2", NAME="${staticDevName}"''; ''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 = networking =
{ interfaces."${staticDevName}".ip4 = [{ address = "10.0.0.2"; prefixLength = 24; }]; { interfaces."${staticDevName}".ip4 = [{ address = "10.0.0.2"; prefixLength = 24; }];
nat = { enable = true; internalInterfaces = [ staticDevName ]; }; nat = { enable = true; internalInterfaces = [ staticDevName ]; };
extraHosts = "10.0.0.1 armory"; extraHosts = "10.0.0.1 armory";
}; };
} }