diff --git a/infra/flake-part.nix b/infra/flake-part.nix index 9926af6..de0dc33 100644 --- a/infra/flake-part.nix +++ b/infra/flake-part.nix @@ -1,4 +1,4 @@ -{ inputs, ... }: +{ self, inputs, ... }: { nixops4Deployments.git = @@ -13,7 +13,7 @@ ssh = { host = "185.206.232.34"; opts = ""; - hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILriawl1za2jbxzelkL5v8KPmcvuj7xVBgwFxuM/zhYr"; + hostPublicKey = self.keys.systems.vm02116; }; nixpkgs = inputs.nixpkgs; nixos.module = { @@ -30,7 +30,7 @@ ssh = { host = "185.206.232.179"; opts = ""; - hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPAsOCOsJ0vNL9fGj0XC25ir8B+k2NlVJzsiVUx+0eWM"; + hostPublicKey = self.keys.systems.vm02179; }; nixpkgs = inputs.nixpkgs; nixos.module = { @@ -47,7 +47,7 @@ ssh = { host = "185.206.232.186"; opts = ""; - hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII6mnBgEeyYE4tzHeFNHVNBV6KR+hAqh3PYSqlh0QViW"; + hostPublicKey = self.keys.systems.vm02186; }; nixpkgs = inputs.nixpkgs; nixos.module = { @@ -72,7 +72,7 @@ ssh = { host = "185.206.232.187"; opts = ""; - hostPublicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN24ZfdQNklKkIqfMg/+0vqENuDcy6fhT6SfAq01ae83"; + hostPublicKey = self.keys.systems.vm02187; }; nixpkgs = inputs.nixpkgs; nixos.module = { diff --git a/keys/systems/vm02187 b/keys/systems/vm02187 new file mode 100644 index 0000000..b79a78f --- /dev/null +++ b/keys/systems/vm02187 @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN24ZfdQNklKkIqfMg/+0vqENuDcy6fhT6SfAq01ae83