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