feat: adds tailscale setup

This commit is contained in:
Deepak Mallubhotla 2022-06-16 10:39:57 -05:00
parent d878701476
commit 5cf173fb6e
Signed by: deepak
GPG Key ID: 976F3357369149AB
2 changed files with 9 additions and 0 deletions

View File

@ -9,6 +9,7 @@
pkgs.obsidian
pkgs.atom
pkgs.cachix
pkgs.tailscale
];
home.homeDirectory = "/home/deepak";

View File

@ -102,6 +102,7 @@ in
pinentry
pinentry-curses
gnupg
tailscale
];
programs.zsh.enable = true;
@ -117,6 +118,12 @@ in
enableSSHSupport = true;
};
services.tailscale.enable = true;
# Optional (default: 41641):
services.tailscale.port = 62532;
# List services that you want to enable:
# Enable the OpenSSH daemon.
@ -125,6 +132,7 @@ in
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
networking.firewall.allowedUDPPorts = [ 62532 ];
# Or disable the firewall altogether.
# networking.firewall.enable = false;