added comments for enabling tailscale on the server

This commit is contained in:
Nickiel12 2023-08-05 10:03:18 -07:00
parent f315ba561c
commit ecde4c31b9
2 changed files with 3 additions and 0 deletions

View file

@ -4,6 +4,7 @@ let
baseDomain = "nickiel.net"; baseDomain = "nickiel.net";
domain = "headscale.${baseDomain}"; domain = "headscale.${baseDomain}";
in { in {
# https://carjorvaz.com/posts/setting-up-headscale-on-nixos/
services.headscale = { services.headscale = {
enable = true; enable = true;
address = "0.0.0.0"; address = "0.0.0.0";

View file

@ -1,6 +1,8 @@
{ config, ... }: { config, ... }:
{ {
# tailscale up --login-server <headscale_url>
# run this command to add this node to the server ^
services.tailscale.enable = true; services.tailscale.enable = true;
# Defined here to indicate the settings are related # Defined here to indicate the settings are related
networking.firewall = { networking.firewall = {