Add new phone to VPN
This commit is contained in:
parent
06e7887a92
commit
3f447d0674
|
@ -21,10 +21,14 @@ in {
|
|||
listenPort = 51820;
|
||||
privateKey = outputs.secrets.wireguardPriv;
|
||||
peers = [
|
||||
{ # Jimbo
|
||||
publicKey = outputs.secrets.wirePhonePub;
|
||||
{ # Jimbo Pixel 9
|
||||
publicKey = outputs.secrets.wirePixel9Pub;
|
||||
allowedIPs = [ "10.100.0.2/32" ];
|
||||
}
|
||||
{ # Jimbo Pixel 4
|
||||
publicKey = outputs.secrets.wirePixel4Pub;
|
||||
allowedIPs = [ "10.100.0.3/32" ];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
BIN
secrets.nix
BIN
secrets.nix
Binary file not shown.
Loading…
Reference in a new issue