1
Fork 0
satellite/hosts/nixos/common/global/tailscale.nix
2023-08-13 05:15:32 +03: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" ];
}