mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
Fix sops usage in wireguard module
This commit is contained in:
parent
95501e7f77
commit
b1bbfb60a6
@ -166,7 +166,7 @@
|
||||
((isServer || isPeer) && !(isServer && isPeer))
|
||||
"host must be either server or peer";
|
||||
lib.nameValuePair (mkInterfaceName interface) ({
|
||||
privateKeyFile = sops.secrets."wireguard-${interface}".path;
|
||||
privateKeyFile = config.sops.secrets."wireguard-${interface}".path;
|
||||
ips = mkAddresses value.prefixes myConfig.localIp;
|
||||
inherit (myConfig) listenPort;
|
||||
} // (if isServer then {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user