1
Fork 0
satellite/hosts/nixos/common/global/services/tailscale.nix
2023-12-10 23:48:46 +01:00

10 lines
233 B
Nix

{ lib, ... }: {
# enable the tailscale service
services.tailscale = {
enable = true;
useRoutingFeatures = lib.mkDefault "client";
};
environment.persistence."/persist/state".directories = [ "/var/lib/tailscale" ];
}