diff --git a/hosts/Alaska/modules/tailscale.nix b/hosts/Alaska/modules/tailscale.nix index 6a444bb..f99b6ab 100644 --- a/hosts/Alaska/modules/tailscale.nix +++ b/hosts/Alaska/modules/tailscale.nix @@ -1,8 +1,14 @@ { config, ... }: { + # to add a new headscale "user", run this command + # sudo headscale users create elnuhub + # then run this command where headscale_url is the http path + # to the server # tailscale up --login-server - # run this command to add this node to the server ^ + # then replace USERNAME with the computer's hostname which you created + # an "user" account in the first comment + services.tailscale.enable = true; # Defined here to indicate the settings are related networking.firewall = { diff --git a/hosts/desktop/default.nix b/hosts/desktop/default.nix index 8bee2b9..370b8b2 100644 --- a/hosts/desktop/default.nix +++ b/hosts/desktop/default.nix @@ -7,7 +7,7 @@ ]; networking.hosts = { - "10.0.0.183" = [ "files.nickiel.net" "git.nickiel.net" "nickiel.net" "jellyfin.nickiel.net" ]; + "10.0.0.183" = [ "headscale.nickiel.net" "files.nickiel.net" "git.nickiel.net" "nickiel.net" "jellyfin.nickiel.net" ]; }; services.xserver.videoDrivers = [ "nvidia" ];