mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 20:59:32 -08:00
added comments for enabling tailscale on the server
This commit is contained in:
parent
f315ba561c
commit
ecde4c31b9
2 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
# tailscale up --login-server <headscale_url>
|
||||
# run this command to add this node to the server ^
|
||||
services.tailscale.enable = true;
|
||||
# Defined here to indicate the settings are related
|
||||
networking.firewall = {
|
||||
|
|
Loading…
Reference in a new issue