diff --git a/modules/system/services/tailscale.nix b/modules/system/services/tailscale.nix index 207dc29..72c1cf8 100644 --- a/modules/system/services/tailscale.nix +++ b/modules/system/services/tailscale.nix @@ -1,9 +1,4 @@ -{ - config, - pkgs-unstable, - lib, - ... -}: +{ config, lib, ... }: let cfg = config.custom.services.tailscale; in @@ -27,12 +22,9 @@ in services.tailscale = { enable = true; - package = pkgs-unstable.tailscale; - authKeyFile = config.sops.secrets."tailscale/auth-key".path; openFirewall = true; useRoutingFeatures = if cfg.exitNode.enable then "server" else "client"; - extraUpFlags = [ "--reset=true" ]; extraSetFlags = [ "--ssh=${lib.boolToString cfg.ssh.enable}"