From a79b87b0224cdd0069cbd4d3534475ee3f04dbf9 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 17 Oct 2021 22:39:57 +0200 Subject: yggdrasil-wg: ... --- modules/yggdrasil-wg/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/yggdrasil-wg') 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 { 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 { path = with pkgs; [iptables]; + wantedBy = [ "network.target" ]; serviceConfig = { RuntimeDirectory = ["udp2raw-config-${other}"]; RuntimeDirectoryMode = "0700"; -- cgit v1.2.3