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

11 lines
233 B
Nix
Raw Normal View History

2024-08-30 01:10:41 +02:00
{ lib, ... }:
{
2023-08-04 21:53:54 +02:00
# enable the tailscale service
2023-08-13 04:15:32 +02:00
services.tailscale = {
enable = true;
useRoutingFeatures = lib.mkDefault "client";
};
environment.persistence."/persist/state".directories = [ "/var/lib/tailscale" ];
2023-08-04 21:53:54 +02:00
}