summaryrefslogtreecommitdiff
path: root/modules/yggdrasil-wg
diff options
context:
space:
mode:
Diffstat (limited to 'modules/yggdrasil-wg')
-rw-r--r--modules/yggdrasil-wg/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix
index 6e49214e..3d9da305 100644
--- a/modules/yggdrasil-wg/default.nix
+++ b/modules/yggdrasil-wg/default.nix
@@ -180,6 +180,7 @@ in {
180 180
181 systemd.services = listToAttrs (filter ({ value, ...}: value != null) (map (opts@{to, from, ...}: let other = if from == hostName then to else from; in nameValuePair "yggdrasil-udp2raw@${other}" (if opts ? "endpointHost" && opts ? "udp2raw" then { 181 systemd.services = listToAttrs (filter ({ value, ...}: value != null) (map (opts@{to, from, ...}: let other = if from == hostName then to else from; in nameValuePair "yggdrasil-udp2raw@${other}" (if opts ? "endpointHost" && opts ? "udp2raw" then {
182 path = with pkgs; [iptables]; 182 path = with pkgs; [iptables];
183 wantedBy = [ "network.target" ];
183 serviceConfig = { 184 serviceConfig = {
184 RuntimeDirectory = ["udp2raw-config-${other}"]; 185 RuntimeDirectory = ["udp2raw-config-${other}"];
185 RuntimeDirectoryMode = "0700"; 186 RuntimeDirectoryMode = "0700";