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

10 lines
233 B
Nix
Raw Normal View History

2023-08-13 04:15:32 +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
}