Remove temp public key for wireguard

This commit is contained in:
Vili Sinervä 2024-11-08 15:41:54 +02:00
parent 83c11ba039
commit aa64dbc6b0
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996

View file

@ -2,6 +2,7 @@
{
imports = [ ../base.nix ];
# Networking conf including WireGuard
networking = {
hostName = "exoplasim";
@ -14,11 +15,11 @@
listenPort = 51821;
peers = [
{
publicKey = "9FOmHXs0CmDlW61noS7DqhgH5GfQHzg8ZMasyNQACSc=";
presharedKeyFile = "/root/wireguard-keys/psk";
allowedIPs = [ "10.0.0.2/32" ];
}
# {
# publicKey = "TODO";
# presharedKeyFile = "/root/wireguard-keys/psk";
# allowedIPs = [ "10.0.0.2/32" ];
# }
];
};
};