blob: 267981face057ee43f3d00387d2f2b96a7cad86f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
{ config, lib, pkgs, ... }:
let endpoint = "139.180.191.169";
in
{
networking = {
domain = "ns.vapor.systems";
hostName = "sin01";
};
pubKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJG9bqNAbHaWgiRgvNMntyW9IeLedXCF11KGB0iQsrJH";
kubernetes = {
role = "agent";
externalIP = {
v4 = endpoint;
v6 = "2001:19f0:4400:7d6a:5400:3ff:fed5:f26d";
};
};
wireguard = {
enable = true;
inherit endpoint;
v4 = { address = "10.10.0.5"; };
v6 = { address = "5"; };
publicKey = "0/g1/0fLOvMDKC87hu9fBDA38S8lzO7qJ+akLGTT/lc=";
allowedIPs = [ "10.102.4.0/24" "fd15:3d8c:d429:102:400::/72" ];
};
_module.args.nixinate = {
host = endpoint;
buildOn = "local";
substituteOnTarget = true;
hermetic = true;
};
}
|