From d515db79f20229cd1bdbb4365a89dc5b2842a5d5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 9 Oct 2021 10:20:15 +0200 Subject: sif: yggdrasil-wg --- modules/yggdrasil-wg/default.nix | 7 +++++++ modules/yggdrasil-wg/hosts/sif.priv | 26 ++++++++++++++++++++++++++ modules/yggdrasil-wg/hosts/sif.pub | 1 + 3 files changed, 34 insertions(+) create mode 100644 modules/yggdrasil-wg/hosts/sif.priv create mode 100644 modules/yggdrasil-wg/hosts/sif.pub (limited to 'modules/yggdrasil-wg') diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix index 1e253dc1..1fd7092c 100644 --- a/modules/yggdrasil-wg/default.nix +++ b/modules/yggdrasil-wg/default.nix @@ -14,11 +14,18 @@ let persistentKeepalive = 25; dynamicEndpointRefreshSeconds = 86400; } + { from = "sif"; + to = "surtr"; + endpointHost = "surtr.yggdrasil.li"; + persistentKeepalive = 25; + dynamicEndpointRefreshSeconds = 86400; + } ]; hostLength = subnetLength + 16; hostIPs = { surtr = ["${subnet}::/${toString hostLength}"]; vidhar = ["${subnet}:1::/${toString hostLength}"]; + sif = ["${subnet}:2::/${toString hostLength}"]; }; mkPublicKeyPath = host: ./hosts + "/${host}.pub"; diff --git a/modules/yggdrasil-wg/hosts/sif.priv b/modules/yggdrasil-wg/hosts/sif.priv new file mode 100644 index 00000000..5641c1f2 --- /dev/null +++ b/modules/yggdrasil-wg/hosts/sif.priv @@ -0,0 +1,26 @@ +{ + "data": "ENC[AES256_GCM,data:OxzV8j/9fiZ9ZZhgjQDbf4qOkczMZiT2rYgBZZjlLKdmDIYTqCzZ3epg6v+F,iv:cZzHiXb9jGUsbfnGTgl4em4enkd2mxCBHXoBCdTQkKs=,tag:i5JYsS+W88N3CSmOi6Yslw==,type:str]", + "sops": { + "kms": null, + "gcp_kms": null, + "azure_kv": null, + "hc_vault": null, + "age": null, + "lastmodified": "2021-10-09T08:19:12Z", + "mac": "ENC[AES256_GCM,data:XCMsYdeKpMO5K0qb+qk9jd93/dgYDz/FCRD4XMcKAggZAl2WiVphjybeAX8pjOhZAt+JGmUFdb1icbnPAkQ741B5msF79PemnRFqElF6yQZRsmfDmuo9xLenNWSLM00YpsBlZnsdUrz11uburgm78wPr/Fvj/6fryTkEYlNQrLM=,iv:u8rgprTsegxOzM2v5zMHq3aMNTaOta45EYJCL684xFY=,tag:IGZbYmsc58sKzBaujH5l5g==,type:str]", + "pgp": [ + { + "created_at": "2021-10-09T08:19:11Z", + "enc": "-----BEGIN PGP MESSAGE-----\n\nhF4Dgwm4NZSaLAcSAQdA7ENCPeYBw3QHeCIVeZtjnX4k1iWK+NZPP3uUQkh8JWMw\noxlc9S0yqG7AerCJszSwmF4hC7B41Zsq97QFVQ+vecohermef7ZZZclw7adnMYl1\n0lwBT1RNT1V+9Tow0uNHKJpMzAwmlG0t5KZrXqsSKnjyvCkdTSKWg0yVMtLgy4lN\nnjk1P66Q3vGEFd9aVLVvtxrJ1TBtN7MTVtS/g0yMzz0WaZoTL4kFRjkaoBDSVw==\n=eJe0\n-----END PGP MESSAGE-----\n", + "fp": "F1AF20B9511B63F681A14E8D51AEFBCD1DEF68F8" + }, + { + "created_at": "2021-10-09T08:19:11Z", + "enc": "-----BEGIN PGP MESSAGE-----\n\nhF4DXxoViZlp6dISAQdAv3YnirqRXgFoLz/XTNx1gccOW/lylh0iEDGNcr1seVsw\nJdrmxN8sAsDKIsem8JEBNhT9RFHtUfVY2SjWpwWX5Xcm5EJSUFaa9lTDA8e6q7SB\n0lwBPFnboct+bXp22xpahkz5NOgbnNNIS27S9bizGfUu5w6cHYs8BGzaXXdLRjuh\nSKX57025OXD9sEScsQoakFMKbAgtMIDbhArCFRdxNLCNqCn7Dpy+R4DbKcWc+A==\n=gLxH\n-----END PGP MESSAGE-----\n", + "fp": "30D3453B8CD02FE2A3E7C78C0FB536FB87AE8F51" + } + ], + "unencrypted_suffix": "_unencrypted", + "version": "3.7.1" + } +} \ No newline at end of file diff --git a/modules/yggdrasil-wg/hosts/sif.pub b/modules/yggdrasil-wg/hosts/sif.pub new file mode 100644 index 00000000..0f6ec4a8 --- /dev/null +++ b/modules/yggdrasil-wg/hosts/sif.pub @@ -0,0 +1 @@ +yioRagUtRvalJLrTtLp8NPiym6a3RpIcqgVfNL1iyRA= -- cgit v1.2.3