add rpi-5

This commit is contained in:
Sebastien Bourdeauducq 2020-05-25 16:31:04 +08:00
parent a110358e37
commit c4eae355d3
2 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,7 @@ in
{ sourcePort = 2202; destination = "192.168.1.202:22"; proto = "tcp"; } { sourcePort = 2202; destination = "192.168.1.202:22"; proto = "tcp"; }
{ sourcePort = 2203; destination = "192.168.1.203:22"; proto = "tcp"; } { sourcePort = 2203; destination = "192.168.1.203:22"; proto = "tcp"; }
{ sourcePort = 2204; destination = "192.168.1.204:22"; proto = "tcp"; } { sourcePort = 2204; destination = "192.168.1.204:22"; proto = "tcp"; }
{ sourcePort = 2205; destination = "192.168.1.205:22"; proto = "tcp"; }
]; ];
extraCommands = '' extraCommands = ''
iptables -w -N block-lan-from-wifi iptables -w -N block-lan-from-wifi
@ -135,6 +136,7 @@ in
dhcp-host=rpi-2,192.168.1.202 dhcp-host=rpi-2,192.168.1.202
dhcp-host=rpi-3,192.168.1.203 dhcp-host=rpi-3,192.168.1.203
dhcp-host=rpi-4,192.168.1.204 dhcp-host=rpi-4,192.168.1.204
dhcp-host=rpi-5,192.168.1.205
# Default IP addresses for ARTIQ boards # Default IP addresses for ARTIQ boards
address=/thermostat/192.168.1.26 address=/thermostat/192.168.1.26

View File

@ -3,6 +3,7 @@
rpi-2 = import ./rpi.nix { host = "rpi-2"; rpi4 = false; }; rpi-2 = import ./rpi.nix { host = "rpi-2"; rpi4 = false; };
rpi-3 = import ./rpi.nix { host = "rpi-3"; rpi4 = true; }; rpi-3 = import ./rpi.nix { host = "rpi-3"; rpi4 = true; };
rpi-4 = import ./rpi.nix { host = "rpi-4"; rpi4 = true; }; rpi-4 = import ./rpi.nix { host = "rpi-4"; rpi4 = true; };
rpi-5 = import ./rpi.nix { host = "rpi-5"; rpi4 = true; };
juno = import ./desktop.nix { host = "juno"; }; juno = import ./desktop.nix { host = "juno"; };
zeus = import ./desktop.nix { host = "zeus"; }; zeus = import ./desktop.nix { host = "zeus"; };
cnc = import ./light.nix { host = "cnc"; }; cnc = import ./light.nix { host = "cnc"; };