mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-12-10 07:59:43 +00:00
13 lines
278 B
Nix
13 lines
278 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
sops.secrets."tailscale/authkey" = { };
|
|
|
|
services.tailscale = {
|
|
enable = true;
|
|
authKeyFile = config.sops.secrets."tailscale/authkey".path;
|
|
useRoutingFeatures = "both";
|
|
permitCertUid = "caddy";
|
|
extraUpFlags = [ "--ssh" ];
|
|
};
|
|
}
|