fixed typos (this time fr)
This commit is contained in:
parent
6faa9df23b
commit
9080c75f6d
2 changed files with 23 additions and 19 deletions
|
@ -126,7 +126,9 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
config = {
|
||||||
${prefix}.network = {
|
${prefix}.network = {
|
||||||
inherit hosts wg_subnets;
|
inherit hosts wg_subnets;
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,7 @@ in {
|
||||||
description = "Whether to use IPv6. Defaults to true";
|
description = "Whether to use IPv6. Defaults to true";
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
|
config = {
|
||||||
networking.wireguard.interfaces.wg0 = {
|
networking.wireguard.interfaces.wg0 = {
|
||||||
ips =
|
ips =
|
||||||
if cfg.useIPv6
|
if cfg.useIPv6
|
||||||
|
@ -55,4 +56,5 @@ in {
|
||||||
upnp_forward_external_port = wireguardPort;
|
upnp_forward_external_port = wireguardPort;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue