From e88c7348dd2e5c6f1269445be0a60cb81467bf69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Wed, 16 Aug 2023 15:58:35 +0300 Subject: [PATCH] adding vno1-rp3b to deploy list --- data.nix | 4 ++++ flake.nix | 22 +++++++++++----------- secrets.nix | 3 ++- 3 files changed, 17 insertions(+), 12 deletions(-) diff --git a/data.nix b/data.nix index c254eb7..cd5cef6 100644 --- a/data.nix +++ b/data.nix @@ -27,6 +27,10 @@ rec { publicIP = "88.223.107.21"; jakstIP = "100.89.176.4"; }; + "vno1-rp3b.servers.jakst" = rec { + publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBudUFFEBpUVdr26vLJup8Hk6wj1iDbOPPQnJbv6GUGC"; + jakstIP = "100.89.176.7"; + }; "hel1-a.servers.jakst" = rec { extraHostNames = ["hel1-a.jakstys.lt" "git.jakstys.lt" "vpn.jakstys.lt" "jakstys.lt" "www.jakstys.lt" publicIP jakstIP]; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF6Wd2lKrpP2Gqul10obMo2dc1xKaaLv0I4FAnfIaFKu"; diff --git a/flake.nix b/flake.nix index 713ea0f..5fb854e 100644 --- a/flake.nix +++ b/flake.nix @@ -140,17 +140,17 @@ }; }; - #deploy.nodes.vno1-rp3b = { - # hostname = "192.168.189.66"; - # profiles = { - # system = { - # sshUser = "root"; - # path = - # deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.vno1-rp3b; - # user = "root"; - # }; - # }; - #}; + deploy.nodes.vno1-rp3b = { + hostname = "192.168.189.66"; + profiles = { + system = { + sshUser = "root"; + path = + deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.vno1-rp3b; + user = "root"; + }; + }; + }; checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib; } diff --git a/secrets.nix b/secrets.nix index 21ff044..96d5d64 100644 --- a/secrets.nix +++ b/secrets.nix @@ -6,7 +6,8 @@ let hel1-a = (import ./data.nix).hosts."hel1-a.servers.jakst".publicKey; vno1-oh2 = (import ./data.nix).hosts."vno1-oh2.servers.jakst".publicKey; - systems = [hel1-a vno1-oh2]; + vno1-rp3b = (import ./data.nix).hosts."vno1-rp3b.servers.jakst".publicKey; + systems = [hel1-a vno1-oh2 vno1-rp3b]; mk = auth: keyNames: builtins.listToAttrs (