mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 07:25:40 +00:00
12 lines
246 B
Nix
12 lines
246 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
sops.secrets."tailscale/authkey" = { };
|
|
|
|
services.tailscale = {
|
|
enable = true;
|
|
authKeyFile = config.sops.secrets."tailscale/authkey".path;
|
|
useRoutingFeatures = "both";
|
|
permitCertUid = "caddy";
|
|
};
|
|
}
|