nixcfg/common/tailscale.nix

10 lines
230 B
Nix
Raw Normal View History

{config, ...}: {
age.secrets.tailscaleAuthKey.file = ../secrets/tailscale/authKeyFile.age;
services.tailscale = {
enable = true;
openFirewall = true;
authKeyFile = config.age.secrets.tailscaleAuthKey.path;
};
}