adding vno1-rp3b to deploy list

This commit is contained in:
Motiejus Jakštys 2023-08-16 15:58:35 +03:00
parent b4ac54d9a7
commit e88c7348dd
3 changed files with 17 additions and 12 deletions

View File

@ -27,6 +27,10 @@ rec {
publicIP = "88.223.107.21"; publicIP = "88.223.107.21";
jakstIP = "100.89.176.4"; jakstIP = "100.89.176.4";
}; };
"vno1-rp3b.servers.jakst" = rec {
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBudUFFEBpUVdr26vLJup8Hk6wj1iDbOPPQnJbv6GUGC";
jakstIP = "100.89.176.7";
};
"hel1-a.servers.jakst" = rec { "hel1-a.servers.jakst" = rec {
extraHostNames = ["hel1-a.jakstys.lt" "git.jakstys.lt" "vpn.jakstys.lt" "jakstys.lt" "www.jakstys.lt" publicIP jakstIP]; extraHostNames = ["hel1-a.jakstys.lt" "git.jakstys.lt" "vpn.jakstys.lt" "jakstys.lt" "www.jakstys.lt" publicIP jakstIP];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF6Wd2lKrpP2Gqul10obMo2dc1xKaaLv0I4FAnfIaFKu"; publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF6Wd2lKrpP2Gqul10obMo2dc1xKaaLv0I4FAnfIaFKu";

View File

@ -140,17 +140,17 @@
}; };
}; };
#deploy.nodes.vno1-rp3b = { deploy.nodes.vno1-rp3b = {
# hostname = "192.168.189.66"; hostname = "192.168.189.66";
# profiles = { profiles = {
# system = { system = {
# sshUser = "root"; sshUser = "root";
# path = path =
# deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.vno1-rp3b; deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.vno1-rp3b;
# user = "root"; user = "root";
# }; };
# }; };
#}; };
checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib; checks = builtins.mapAttrs (system: deployLib: deployLib.deployChecks self.deploy) deploy-rs.lib;
} }

View File

@ -6,7 +6,8 @@ let
hel1-a = (import ./data.nix).hosts."hel1-a.servers.jakst".publicKey; hel1-a = (import ./data.nix).hosts."hel1-a.servers.jakst".publicKey;
vno1-oh2 = (import ./data.nix).hosts."vno1-oh2.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: mk = auth: keyNames:
builtins.listToAttrs ( builtins.listToAttrs (