nixos-config/services/tailscale.nix

8 lines
214 B
Nix
Raw Normal View History

2024-10-29 12:29:05 +00:00
{config, ...}: {
services.tailscale = {
enable = true;
authKeyFile = config.sops.secrets."services/tailscale/authKey".path;
};
sops.secrets."services/tailscale/authKey".sopsFile = ./tailscale.yaml;
}