From ecde4c31b9ee1d86917eeb65aa2a9e71f65fa433 Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 5 Aug 2023 10:03:18 -0700 Subject: [PATCH] added comments for enabling tailscale on the server --- hosts/Alaska/modules/headscale.nix | 1 + hosts/Alaska/modules/tailscale.nix | 2 ++ 2 files changed, 3 insertions(+) diff --git a/hosts/Alaska/modules/headscale.nix b/hosts/Alaska/modules/headscale.nix index 5e55c8c..e55042a 100644 --- a/hosts/Alaska/modules/headscale.nix +++ b/hosts/Alaska/modules/headscale.nix @@ -4,6 +4,7 @@ let baseDomain = "nickiel.net"; domain = "headscale.${baseDomain}"; in { + # https://carjorvaz.com/posts/setting-up-headscale-on-nixos/ services.headscale = { enable = true; address = "0.0.0.0"; diff --git a/hosts/Alaska/modules/tailscale.nix b/hosts/Alaska/modules/tailscale.nix index deec08e..6a444bb 100644 --- a/hosts/Alaska/modules/tailscale.nix +++ b/hosts/Alaska/modules/tailscale.nix @@ -1,6 +1,8 @@ { config, ... }: { + # tailscale up --login-server + # run this command to add this node to the server ^ services.tailscale.enable = true; # Defined here to indicate the settings are related networking.firewall = {