summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-07-29 14:36:50 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2022-07-29 14:36:50 +0200
commitde66ba821b2851cb23bcc7b064e84de3dd848e26 (patch)
tree3041ca9e550c865a47b853129997d22ff3a6cd28
parente41d3b2faf76ee77f797ce80bf5e2bcc10a1cf71 (diff)
downloadnixos-de66ba821b2851cb23bcc7b064e84de3dd848e26.tar
nixos-de66ba821b2851cb23bcc7b064e84de3dd848e26.tar.gz
nixos-de66ba821b2851cb23bcc7b064e84de3dd848e26.tar.bz2
nixos-de66ba821b2851cb23bcc7b064e84de3dd848e26.tar.xz
nixos-de66ba821b2851cb23bcc7b064e84de3dd848e26.zip
VPN on sif
-rw-r--r--hosts/surtr/vpn/default.nix2
-rw-r--r--hosts/surtr/vpn/sif.priv26
-rw-r--r--hosts/surtr/vpn/sif.pub1
3 files changed, 28 insertions, 1 deletions
diff --git a/hosts/surtr/vpn/default.nix b/hosts/surtr/vpn/default.nix
index fab5adab..9d003f23 100644
--- a/hosts/surtr/vpn/default.nix
+++ b/hosts/surtr/vpn/default.nix
@@ -64,7 +64,7 @@ in {
64 AllowedIPs = ["${prefix6}:${toString ip}::/96" "${prefix4}.${toString ip}/32"]; 64 AllowedIPs = ["${prefix6}:${toString ip}::/96" "${prefix4}.${toString ip}/32"];
65 PublicKey = trim (readFile (./. + "/${name}.pub")); 65 PublicKey = trim (readFile (./. + "/${name}.pub"));
66 }; 66 };
67 }) [ { name = "geri"; } ]; 67 }) [ { name = "geri"; } { name = "sif"; } ];
68 }; 68 };
69 }; 69 };
70 70
diff --git a/hosts/surtr/vpn/sif.priv b/hosts/surtr/vpn/sif.priv
new file mode 100644
index 00000000..30a08fcc
--- /dev/null
+++ b/hosts/surtr/vpn/sif.priv
@@ -0,0 +1,26 @@
1{
2 "data": "ENC[AES256_GCM,data:bN70hyAcbemZJToTbQ50UnmRWx1HyBBrD0TFXlyNWzcKD1TPMUofoaDac6Gt,iv:JY0/+C+6r7LEiL2zhveRha4DLwLedjTGJBvuxVnyxmM=,tag:ICBbYk0P44BySLryNEswBw==,type:str]",
3 "sops": {
4 "kms": null,
5 "gcp_kms": null,
6 "azure_kv": null,
7 "hc_vault": null,
8 "age": null,
9 "lastmodified": "2022-07-29T12:15:02Z",
10 "mac": "ENC[AES256_GCM,data:MQFmmdTgHlwYplUt51VdMUAnezhypB0Yh0PW5LX4L0lsF0/qlHofRXvqHYI6sx21r8UuTjvLIZ+7LSo8px2wELDol77ufh1zxSDBdbGq6J2ITPEMtmqIXwGJQKweEBr4B4H4mxoiIVQUgNj5TxzxhL7KTm+sVi1uCqTcJjnSY5o=,iv:YJ1GuHd3I4QaJxSJitLrUagaBth1jcQNlIAIahiOCgs=,tag:pcFpscLzTe1egToIzcZh8Q==,type:str]",
11 "pgp": [
12 {
13 "created_at": "2022-07-29T12:15:02Z",
14 "enc": "-----BEGIN PGP MESSAGE-----\n\nhF4DXxoViZlp6dISAQdAmyIyOWJBhIOV4q1b/e2SQdDJuN+feiBQKvYxXPUICyUw\nZ4+HZhYYxERG5FC6fH0dK2UDuL2lSzda8YPwCaVYnvjBGHef7fe+8VvVIGZw+Ymc\n0lwBlA/MBCoUXTVAIxySC3yBpqHu0lPZsLExjlKYWuikvKYC4tkre6MgYhQOiAAz\nM5rlatVv3NC978MeoLjlqYz5kZqIfo8OBllPGMG0ig1q8ZiECrWion03e8MyUQ==\n=TJ+U\n-----END PGP MESSAGE-----\n",
15 "fp": "30D3453B8CD02FE2A3E7C78C0FB536FB87AE8F51"
16 },
17 {
18 "created_at": "2022-07-29T12:15:02Z",
19 "enc": "-----BEGIN PGP MESSAGE-----\n\nhF4Dgwm4NZSaLAcSAQdAdTUxSzzwhgyqWg+wtBDJDOllNljRAel4HSuEEfBs9Wsw\nFa6AQYYnQl4XbE4TRQzJ3iqymVDDpQ5RbF/EWhSV2391VmAXznl6VT5u5+8mdbQh\n0lwBcsjy3BnPAFbnQWaYe6MTZocnCSi1Q+YOVKzHYBiAkbKiJMmbnGKIgBmrAa2j\n4Gv+bYCTm8gnmqvXQbVPe9sU9Vaiv9geMj1SQ3YaWe0lOXIpIRvjg8+9WjuDlQ==\n=xVuX\n-----END PGP MESSAGE-----\n",
20 "fp": "F1AF20B9511B63F681A14E8D51AEFBCD1DEF68F8"
21 }
22 ],
23 "unencrypted_suffix": "_unencrypted",
24 "version": "3.7.3"
25 }
26} \ No newline at end of file
diff --git a/hosts/surtr/vpn/sif.pub b/hosts/surtr/vpn/sif.pub
new file mode 100644
index 00000000..e7e9ce76
--- /dev/null
+++ b/hosts/surtr/vpn/sif.pub
@@ -0,0 +1 @@
Qd+HB0OlcaD9kZL7edfgjVjZN9th5AQRo55NVwZsqU4=