fix
This commit is contained in:
@@ -21,11 +21,7 @@
|
|||||||
'' else '''';
|
'' else '''';
|
||||||
peers =
|
peers =
|
||||||
if config.syscfg.net.wg.server.enable then
|
if config.syscfg.net.wg.server.enable then
|
||||||
map(secretName:{
|
[]
|
||||||
name = "${secretName}";
|
|
||||||
allowedIPs = [ "10.10.1.0/24" "fd10:10:10::0/64" ];
|
|
||||||
publicKey = config.sops.secrets."${secretName}_wg_pub".path;
|
|
||||||
}) config.syscfg.net.wg.server.peers
|
|
||||||
else
|
else
|
||||||
[{
|
[{
|
||||||
allowedIPs = [ "10.10.1.0/24" "fd10:10:10::0/64" ];
|
allowedIPs = [ "10.10.1.0/24" "fd10:10:10::0/64" ];
|
||||||
|
|||||||
Reference in New Issue
Block a user