1
Fork 0
satellite/hosts/nixos/common/optional/services/tailscale.nix

11 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" ];
}