feat: Add wireguard to rpi2

This relates to #10
This commit is contained in:
Charlotte 🦝 Delenk 2022-02-26 09:35:39 +01:00
parent 836dbbec54
commit 95e70adce3
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
3 changed files with 21 additions and 3 deletions

View file

@ -15,4 +15,7 @@
"https://192.168.2.1/cache.int.chir.rs/"
];
nix.settings.cores = 4;
networking.wireguard.interfaces."wg0".ips = [
"fd0d:a262:1fa6:e621:6a74:93b8:e164:cd7c/64"
];
}

View file

@ -26,6 +26,12 @@
"fd0d:a262:1fa6:e621:f45a:db9f:eb7c:1a3f/128"
];
}
{
publicKey = "o9ltq7E/TRMS9d1TXs7dJTNBm8grsSQBqppr2nW4ngw=";
allowedIPs = [
"fd0d:a262:1fa6:e621:6a74:93b8:e164:cd7c/64"
];
}
# Old infra: ubuntu-4gb-fsn1-1
{
publicKey = "ZtU2iWwVYeGyXC1ak+wFdTuisQNq7gMthYQZaw6InDU=";

View file

@ -1,12 +1,21 @@
test: ENC[AES256_GCM,data:bKQdIQ==,iv:8gIzeFQ4S4oyKhUI2DSCHRH8KNxtbdK/NrqucFOBsk4=,tag:4TKayj06ihwk7BaPKYD5yA==,type:str]
network:
wireguard:
privkey: ENC[AES256_GCM,data:+mHow+Y5Y5kXS9iQwchvx+qKFOL54ZlJCGMxbEzjy1jt1V5nvf8181GKa/U=,iv:xCaNdyzJ6ZPlYC4Nm3lc5IRnuS4YLnzfpc7SyLbzsp8=,tag:lSgeMSHf8zH+dwGwDfMzhA==,type:str]
security:
restic:
password: ENC[AES256_GCM,data:YMoMhgOtXRa1aMXlhWCGWHvI4vc=,iv:HDJq3+aULRWKTKU3rLNdSXf0SaOKqvKE52rTbDPSY0Q=,tag:HUkOmWNkO6MoPPGgKhH8Aw==,type:str]
email:
darkkirb@darkkirb.de: ENC[AES256_GCM,data:y4U/BiN7kPPl8J8ivZuLoGuSiAk=,iv:jwGo25+UzaDjHTDRUgrCGOuplkfvSBGtcbtSL1BF360=,tag:cE/3NIZu0G1g5nmBey2z+A==,type:str]
lotte@chir.rs: ENC[AES256_GCM,data:Am08+fGqhr/ufpZg0ePziT/2dw==,iv:AhOoR44ZAiY2UTpo0WV94K1HeOE2cdxFmKAnM/2u7Dk=,tag:jvOoiP5SkPniXYPnLMRyuQ==,type:str]
mdelenk@hs-mittweida.de: ENC[AES256_GCM,data:iQzzdroSL7sIRWM5oR7CFjdW13oJzgy2ABuoaZw2el1hPJp9z7xCeQXMOB9CV/9gcIdUGF+kW6FXvayP3PeVYg==,iv:qGkzQKRhuV9MNTyuSWP+p1eJDTRQk94LP+b3DQkasz8=,tag:PORYS+LxNmmxVDXY9iej+Q==,type:str]
sops:
kms: []
gcp_kms: []
azure_kv: []
hc_vault: []
age: []
lastmodified: "2022-02-26T08:29:12Z"
mac: ENC[AES256_GCM,data:oLj0T+wIn4fhJg9/A/yDRZVdfS9FzYr7GAitLgf1lllwYajQazGWUXmLsBOVU4i3hrBvIOF8hfylSJdrNpl8wO1usrZkEPArmciEtE0//pnaSqG+7fNDSrtg32ZWTjHiwbnvD6WxJ0uc3ftgBhbCcdE7O6WeK+qBN95HDtRtB1E=,iv:0UppoBGnh/m0s3O54nbGoj5EOJGXVUNzWjmxnIyHQCc=,tag:qLFvBFdYaC//ilMfp4XRsw==,type:str]
lastmodified: "2022-02-26T08:35:22Z"
mac: ENC[AES256_GCM,data:ZLR59MvrNjypM4s/VA8M57p9Cxb40Nlos2EwrAiXcXEYoJ3AKG9mDSBzt+KiCsOe5Pgrfx2cUuVXwvK7IdfdZFl9DpBXXCpeByVqxdMq45Zqq2QM8+99dxSZt8IfZdEp8cVP99P1aB3IQlmeyMIGLPOpL45HofC3f5SG/wF7aKQ=,iv:q0tJo3aA/X38iQkYs+AUGROUwn80fV978nulTLSB15o=,tag:dihaOBXS8pgSISTzLcQ//w==,type:str]
pgp:
- created_at: "2022-02-26T08:28:49Z"
enc: |