diff options
| author | Fuwn <[email protected]> | 2024-09-22 14:05:31 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-22 14:05:31 -0700 |
| commit | fda7e0537d640a3f77a523a69da48f58a7ccc843 (patch) | |
| tree | eeff0d784f08c745061684ecf10865adcc391775 /modules/server/systemd.nix | |
| parent | tailscale: optimise subnet routers and exit nodes (diff) | |
| download | nixos-config-fda7e0537d640a3f77a523a69da48f58a7ccc843.tar.xz nixos-config-fda7e0537d640a3f77a523a69da48f58a7ccc843.zip | |
tailscale: authenticate on all systems
Diffstat (limited to 'modules/server/systemd.nix')
| -rw-r--r-- | modules/server/systemd.nix | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/modules/server/systemd.nix b/modules/server/systemd.nix deleted file mode 100644 index 1ffc1ce..0000000 --- a/modules/server/systemd.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, ... }: -{ - systemd.services.tailscale-up = { - after = [ "tailscaled.service" ]; - requires = [ "tailscaled.service" ]; - wantedBy = [ "multi-user.target" ]; - - serviceConfig = { - ExecStart = "/run/current-system/sw/bin/tailscale up --authkey ${config.sops.secrets.tailscale_authentication_key.path}"; - Restart = "on-failure"; - }; - }; -} |