{ flake.modules.nixos.tailscale = { config, lib, ... }: let cfg = config.arta.tailscale; in { options.arta.tailscale = { enableSSH = lib.mkOption { type = lib.types.bool; default = true; }; }; config = { services.tailscale = { enable = true; extraSetFlags = lib.lists.optional cfg.enableSSH "--ssh"; }; }; }; }