added join instructions to the tailscale file

This commit is contained in:
Nickiel12 2023-08-05 10:15:09 -07:00
parent ecde4c31b9
commit a10d996e9b
2 changed files with 8 additions and 2 deletions

View file

@ -1,8 +1,14 @@
{ config, ... }: { 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 <headscale_url> # tailscale up --login-server <headscale_url>
# 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; services.tailscale.enable = true;
# Defined here to indicate the settings are related # Defined here to indicate the settings are related
networking.firewall = { networking.firewall = {

View file

@ -7,7 +7,7 @@
]; ];
networking.hosts = { 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" ]; services.xserver.videoDrivers = [ "nvidia" ];