mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
added join instructions to the tailscale file
This commit is contained in:
parent
ecde4c31b9
commit
a10d996e9b
2 changed files with 8 additions and 2 deletions
|
@ -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 <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;
|
||||
# Defined here to indicate the settings are related
|
||||
networking.firewall = {
|
||||
|
|
|
@ -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" ];
|
||||
|
|
Loading…
Reference in a new issue