diff options
| author | Max Audron <audron@cocaine.farm> | 2023-09-29 09:56:22 +0200 |
|---|---|---|
| committer | Max Audron <audron@cocaine.farm> | 2023-09-29 09:56:22 +0200 |
| commit | 7e27762b60cebe86be1135680f2b5f3e193c398c (patch) | |
| tree | 77d907063d69e485a202c4fbd64e2911a5be4527 /machines/test2 | |
| parent | test kubernetes deployment (diff) | |
merge diverged changes
Diffstat (limited to 'machines/test2')
| -rw-r--r-- | machines/test2/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/machines/test2/default.nix b/machines/test2/default.nix index 11af08d..9782600 100644 --- a/machines/test2/default.nix +++ b/machines/test2/default.nix @@ -1,6 +1,7 @@ { config, lib, pkgs, ... }: -{ +let endpoint = "140.82.37.154"; +in { networking = { domain = "vapor.systems"; hostName = "test2"; @@ -10,11 +11,11 @@ wireguard = { enable = true; + inherit endpoint; v4 = { address = "10.10.0.2"; }; v6 = { address = "2"; }; publicKey = "oV+exEWmcU3UHS6iSK4rnPZg57D0R84EVJKZyVmEdUc="; allowedIPs = [ "10.102.5.0/24" "fd15:3d8c:d429:102:500::/72" ]; - endpoint = "140.82.37.154"; }; kubernetes = { @@ -22,8 +23,7 @@ }; _module.args.nixinate = { - host = "140.82.37.154"; - sshUser = "audron"; + host = endpoint; buildOn = "remote"; substituteOnTarget = true; hermetic = false; |
