Remove temp public key for wireguard
This commit is contained in:
parent
83c11ba039
commit
aa64dbc6b0
1 changed files with 6 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [ ../base.nix ];
|
imports = [ ../base.nix ];
|
||||||
|
|
||||||
|
# Networking conf including WireGuard
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "exoplasim";
|
hostName = "exoplasim";
|
||||||
|
|
||||||
|
@ -14,11 +15,11 @@
|
||||||
listenPort = 51821;
|
listenPort = 51821;
|
||||||
|
|
||||||
peers = [
|
peers = [
|
||||||
{
|
# {
|
||||||
publicKey = "9FOmHXs0CmDlW61noS7DqhgH5GfQHzg8ZMasyNQACSc=";
|
# publicKey = "TODO";
|
||||||
presharedKeyFile = "/root/wireguard-keys/psk";
|
# presharedKeyFile = "/root/wireguard-keys/psk";
|
||||||
allowedIPs = [ "10.0.0.2/32" ];
|
# allowedIPs = [ "10.0.0.2/32" ];
|
||||||
}
|
# }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue