summary refs log tree commit diff
path: root/modules/go2rtc.nix
diff options
context:
space:
mode:
authorMel <mel@rnrd.eu>2025-04-17 22:52:57 +0200
committerMel <mel@rnrd.eu>2025-04-17 22:52:57 +0200
commit21ab1a1cbaf7d4d073f80072c79208622b8fc412 (patch)
treec60cc9608d54a469e4bad9f316b6f3d49f9b6f85 /modules/go2rtc.nix
parent78d1002cbbeaac86484efadc336482c884aeec3b (diff)
downloadnetwork-21ab1a1cbaf7d4d073f80072c79208622b8fc412.tar.zst
network-21ab1a1cbaf7d4d073f80072c79208622b8fc412.zip
Start moonraker and go2rtc after Tailscale to prevent address binding issues
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'modules/go2rtc.nix')
-rw-r--r--modules/go2rtc.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/go2rtc.nix b/modules/go2rtc.nix
index 7ee7ae3..e1fb881 100644
--- a/modules/go2rtc.nix
+++ b/modules/go2rtc.nix
@@ -33,4 +33,10 @@ in
       };
     };
   };
+
+  # todo: put this into foundation option.
+  systemd.services.go2rtc = {
+    after = [ "tailscaled.service" ];
+    requires = [ "tailscaled.service" ];
+  };
 }