summary refs log tree commit diff
path: root/modules/go2rtc.nix
diff options
context:
space:
mode:
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" ];
+  };
 }