rename field
This commit is contained in:
parent
8fb5e7cb83
commit
1d3de008c4
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue