summaryrefslogtreecommitdiff
path: root/modules/yggdrasil-wg
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-10-10 13:46:11 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2021-10-10 13:46:11 +0200
commite0e60dc08b405f11e6792aa4455e2a385bbc6ab6 (patch)
treef9c9647bd1e42081d504fa400ed68b5b81a566df /modules/yggdrasil-wg
parent72c725792137ed866b7cf23cca87d183cd16b544 (diff)
downloadnixos-e0e60dc08b405f11e6792aa4455e2a385bbc6ab6.tar
nixos-e0e60dc08b405f11e6792aa4455e2a385bbc6ab6.tar.gz
nixos-e0e60dc08b405f11e6792aa4455e2a385bbc6ab6.tar.bz2
nixos-e0e60dc08b405f11e6792aa4455e2a385bbc6ab6.tar.xz
nixos-e0e60dc08b405f11e6792aa4455e2a385bbc6ab6.zip
yggdrasil-wg: ...
Diffstat (limited to 'modules/yggdrasil-wg')
-rw-r--r--modules/yggdrasil-wg/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix
index 73f8c368..e7ecf709 100644
--- a/modules/yggdrasil-wg/default.nix
+++ b/modules/yggdrasil-wg/default.nix
@@ -90,8 +90,8 @@ in {
90 }; 90 };
91 } else null)) links)) // { 91 } else null)) links)) // {
92 "wireguard-yggdrasil" = { 92 "wireguard-yggdrasil" = {
93 requires = filter (value: value != null) (map (opts@{to, from, ...}: let other = if from == hostName then to else from; in if opts ? "endpointHost" then "yggdrasil-udp2raw@${other}" else null) hostLinks); 93 bindsTo = filter (value: value != null) (map (opts@{to, from, ...}: let other = if from == hostName then to else from; in if opts ? "endpointHost" then "yggdrasil-udp2raw@${other}.service" else null) hostLinks);
94 after = filter (value: value != null) (map (opts@{to, from, ...}: let other = if from == hostName then to else from; in if opts ? "endpointHost" then "yggdrasil-udp2raw@${other}" else null) hostLinks); 94 after = filter (value: value != null) (map (opts@{to, from, ...}: let other = if from == hostName then to else from; in if opts ? "endpointHost" then "yggdrasil-udp2raw@${other}.service" else null) hostLinks);
95 }; 95 };
96 firewall.path = optionals isRouter [pkgs.procps]; 96 firewall.path = optionals isRouter [pkgs.procps];
97 }; 97 };