fix
This commit is contained in:
@@ -21,11 +21,7 @@
|
||||
'' else '''';
|
||||
peers =
|
||||
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
|
||||
[{
|
||||
allowedIPs = [ "10.10.1.0/24" "fd10:10:10::0/64" ];
|
||||
|
||||
Reference in New Issue
Block a user