rename field

This commit is contained in:
Adithya 2023-10-10 19:14:01 +05:30
parent 8fb5e7cb83
commit 1d3de008c4
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ in {
enable = true; enable = true;
interfaces = { interfaces = {
wg0 = { wg0 = {
ips = peers."${config.networking.hostName}".allowedIPs; inherit (peers."${config.networking.hostName}") ips;
privateKeyFile = "/etc/wireguard/private.key"; privateKeyFile = "/etc/wireguard/private.key";
generatePrivateKeyFile = true; generatePrivateKeyFile = true;
listenPort = 51820; listenPort = 51820;

View file

@ -9,7 +9,7 @@ in {
enable = true; enable = true;
interfaces = { interfaces = {
wg0 = { wg0 = {
ips = peers."${config.networking.hostName}".allowedIPs; inherit (peers."${config.networking.hostName}") ips;
privateKeyFile = "/etc/wireguard/private.key"; privateKeyFile = "/etc/wireguard/private.key";
generatePrivateKeyFile = true; generatePrivateKeyFile = true;
listenPort = 51820; listenPort = 51820;