KCNHUB: Hardware config SpiNNaKer config
parent
bda6871fc7
commit
1cac1e66d9
|
@ -49,9 +49,21 @@
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
# still possible to use this option, but it's recommended to use it in conjunction
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||||
networking.useDHCP = lib.mkDefault true;
|
# networking.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||||||
# networking.interfaces.eno2.useDHCP = lib.mkDefault true;
|
# Used to talk with the SpiNNaker
|
||||||
|
networking.interfaces.eno2 = {
|
||||||
|
ipv4.routes = [{
|
||||||
|
address = "192.168.240.0";
|
||||||
|
prefixLength = 24;
|
||||||
|
via = "192.168.240.254";
|
||||||
|
}];
|
||||||
|
ipv4.addresses = [{
|
||||||
|
address = "192.168.240.254";
|
||||||
|
prefixLength = 24;
|
||||||
|
}];
|
||||||
|
useDHCP = lib.mkDefault false;
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
|
|
Loading…
Reference in New Issue