From c4eae355d37c452de5688816ea9e0c34e14259e3 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 25 May 2020 16:31:04 +0800 Subject: [PATCH] add rpi-5 --- nixbld-etc-nixos/configuration.nix | 2 ++ nixops/nixops.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index 3375d49..cf16c0e 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -72,6 +72,7 @@ in { sourcePort = 2202; destination = "192.168.1.202:22"; proto = "tcp"; } { sourcePort = 2203; destination = "192.168.1.203:22"; proto = "tcp"; } { sourcePort = 2204; destination = "192.168.1.204:22"; proto = "tcp"; } + { sourcePort = 2205; destination = "192.168.1.205:22"; proto = "tcp"; } ]; extraCommands = '' iptables -w -N block-lan-from-wifi @@ -135,6 +136,7 @@ in dhcp-host=rpi-2,192.168.1.202 dhcp-host=rpi-3,192.168.1.203 dhcp-host=rpi-4,192.168.1.204 + dhcp-host=rpi-5,192.168.1.205 # Default IP addresses for ARTIQ boards address=/thermostat/192.168.1.26 diff --git a/nixops/nixops.nix b/nixops/nixops.nix index 7338b8c..bcfb2ef 100644 --- a/nixops/nixops.nix +++ b/nixops/nixops.nix @@ -3,6 +3,7 @@ rpi-2 = import ./rpi.nix { host = "rpi-2"; rpi4 = false; }; rpi-3 = import ./rpi.nix { host = "rpi-3"; 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"; }; zeus = import ./desktop.nix { host = "zeus"; }; cnc = import ./light.nix { host = "cnc"; };