Common: set up tailscale

This commit is contained in:
Toast 2023-08-26 13:05:54 +02:00
parent 9b1e8798c0
commit cb3ec0cb57
3 changed files with 17 additions and 1 deletions

View file

@ -3,7 +3,7 @@
{ {
imports = [ imports = [
./programs ./programs
./services/avahi.nix ./services
./configuration.nix ./configuration.nix
]; ];
} }

View file

@ -0,0 +1,8 @@
{ ... }:
{
imports = [
./avahi.nix
./tailscale.nix
];
}

View file

@ -0,0 +1,8 @@
{ config, lib, ... }:
{
services.tailscale = {
enable = true;
useRoutingFeatures = lib.mkDefault "client";
};
}