From 86589ac4a3c7ed3c08be11d4abd6a993ddea4542 Mon Sep 17 00:00:00 2001 From: Craige McWhirter Date: Mon, 9 Dec 2019 16:18:58 +1000 Subject: [PATCH] Added pi-tri --- deployments/mio-ops.nix | 1 + hosts/pi-tri.nix | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/deployments/mio-ops.nix b/deployments/mio-ops.nix index e4c5803..880b29f 100644 --- a/deployments/mio-ops.nix +++ b/deployments/mio-ops.nix @@ -14,5 +14,6 @@ }; cuallaidh = import ../hosts/cuallaidh.nix; + pi-tri = import hosts/pi-tri.nix; } diff --git a/hosts/pi-tri.nix b/hosts/pi-tri.nix index 996d812..fa2b11c 100644 --- a/hosts/pi-tri.nix +++ b/hosts/pi-tri.nix @@ -4,10 +4,10 @@ { imports = [ - #../Deployments/gitea_home.nix - #../secrets/gitea_home.nix + ../clusters/pi3B_rack.nix ]; + deployment.targetHost = "10.69.0.203"; networking.hostName = "pi-tri"; # Define your hostname. # File systems unique to this host: @@ -23,4 +23,10 @@ nix-zsh-completions # ZSH completions for Nix, NixOS, and NixOps nixops # NixOS cloud provisioning and deployment tool ]; + + nix.nixPath = [ + "nixpkgs=https://nixos.org/channels/nixos-19.09/nixexprs.tar.xz" + ]; + + system.stateVersion = "19.09"; # The version of NixOS originally installed }