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