fix(jeeves): wireguard peer's PublicKey
should not be a file
This commit is contained in:
parent
a4004be93e
commit
c707909f4f
3 changed files with 1 additions and 22 deletions
|
@ -18,11 +18,6 @@
|
|||
file = ../../../../secrets/home/wireguard/server.public.age;
|
||||
};
|
||||
|
||||
# Peers
|
||||
age.secrets."wireguard/cheetah.pub" = {
|
||||
file = ../../../../secrets/home/wireguard/cheetah.pub.age;
|
||||
};
|
||||
|
||||
networking.firewall.allowedUDPPorts = [51820];
|
||||
systemd.network = {
|
||||
netdevs = {
|
||||
|
@ -40,7 +35,7 @@
|
|||
{
|
||||
# cheetah
|
||||
wireguardPeerConfig = {
|
||||
PublicKey = config.age.secrets."wireguard/cheetah.pub".path;
|
||||
PublicKey = "CFTGvBcly791ClwyS6PzTjmqztvYJW2eklR7it/QhxI=";
|
||||
AllowedIPs = [
|
||||
"0.0.0.0/0"
|
||||
# "::/0"
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
-----BEGIN AGE ENCRYPTED FILE-----
|
||||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IElkcVZ1USBvVUor
|
||||
bGVuY2FwK0VwdkVxV1VIRmhXU0NrSDRQcUREeEJYRGJYREpUUm5vCkJWVUZFZGNx
|
||||
VGFUbmJWdy9vMjQzeU5TbVY4MDlaaGwzWEU4ZHAvK2hLNkUKLT4gc3NoLWVkMjU1
|
||||
MTkgV2Y4dmp3IHdxbkRodDNEMkcra1FrUHoxckIxaUU0aSt1T09LV25kVm02K1BM
|
||||
R0NvUTQKZ1BFSG1KNnphNVdDNXhyUmxPcjAwbDN5RWRNOWxpbUZJTGwyVnBwcWNi
|
||||
SQotPiBYMjU1MTkgUnZONFVKUGFZTDhzNDE2YS93Y0xrbEVVMXpwK2pWcCt1V2Jn
|
||||
YXp5RmdWbwplb3pkbU9UaVVFaDAxSDM1VEdVV1VzY3E0TWx3UWhxOGcxa29tQUIy
|
||||
U3c4Ci0+IHNzaC1lZDI1NTE5IHZNbmJsZyBneis4MExsSWxwcnN0ZmVUVEl0dzlE
|
||||
eWdqWHBPdDd5Q2VFQWNXMkltWm5NCnMzWm94SUFiU3dJYmdhMWpUM05aNlV6OG8z
|
||||
T3oxdUg0ZnUyOVc0T2M4cGcKLT4gJX4tZ3JlYXNlIDAjeFkKdHRkL2p4OThPM2ln
|
||||
bzlOSitseDQ3YVNKNlEKLS0tIEtlZzhyRHVlbmhSWmFHTVZGM29ycXNUSnJjK3FJ
|
||||
bmRvdk1xYkRKUVQ3c2sKY6ZetgsnlZtGTcDepuS1/vOnI9ksYgkk6gvMfgX+XyzE
|
||||
EQOjj/XkiDwSG8GWtd2dEJxUdUgJitob3wMtRVeozege+G9yYqFo0qAAcPE=
|
||||
-----END AGE ENCRYPTED FILE-----
|
|
@ -25,5 +25,4 @@ in
|
|||
"home/jeeves_password.age".publicKeys = users ++ [ jeeves_system ];
|
||||
"home/wireguard/server.private.age".publicKeys = users ++ [ jeeves_system ];
|
||||
"home/wireguard/server.public.age".publicKeys = users ++ [ jeeves_system ];
|
||||
"home/wireguard/cheetah.pub.age".publicKeys = users ++ [ jeeves_system ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue