summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2024-06-09 17:51:54 -0400
committerKjetil Orbekk <kj@orbekk.com>2024-06-09 17:51:54 -0400
commitf8873b374ac0cb73757e78a55d0c29656b980706 (patch)
tree185cd66a00d8b9d56f6a19e2f0236e857988e200 /modules
parented7bb7a0803aabab1147b9407c4a90325199cc8a (diff)
update
Diffstat (limited to 'modules')
-rw-r--r--modules/router.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/router.nix b/modules/router.nix
index 31d3941..fa5b19c 100644
--- a/modules/router.nix
+++ b/modules/router.nix
@@ -345,7 +345,8 @@ in {
config = mkIf cfg.enable {
systemd.services."router-netns" = {
description = "router network namespace";
- after = ["network.target"];
+ after = ["network-pre.target"];
+ before = ["network.target" "wireguard-muddvad.service"];
path = with pkgs; [bash iproute];
serviceConfig = {
Type = "oneshot";