feat: adds tailscale setup
This commit is contained in:
parent
d878701476
commit
5cf173fb6e
@ -9,6 +9,7 @@
|
|||||||
pkgs.obsidian
|
pkgs.obsidian
|
||||||
pkgs.atom
|
pkgs.atom
|
||||||
pkgs.cachix
|
pkgs.cachix
|
||||||
|
pkgs.tailscale
|
||||||
];
|
];
|
||||||
|
|
||||||
home.homeDirectory = "/home/deepak";
|
home.homeDirectory = "/home/deepak";
|
||||||
|
@ -102,6 +102,7 @@ in
|
|||||||
pinentry
|
pinentry
|
||||||
pinentry-curses
|
pinentry-curses
|
||||||
gnupg
|
gnupg
|
||||||
|
tailscale
|
||||||
];
|
];
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
@ -117,6 +118,12 @@ in
|
|||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.tailscale.enable = true;
|
||||||
|
|
||||||
|
# Optional (default: 41641):
|
||||||
|
services.tailscale.port = 62532;
|
||||||
|
|
||||||
|
|
||||||
# List services that you want to enable:
|
# List services that you want to enable:
|
||||||
|
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
@ -125,6 +132,7 @@ in
|
|||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
networking.firewall.allowedUDPPorts = [ 62532 ];
|
||||||
# Or disable the firewall altogether.
|
# Or disable the firewall altogether.
|
||||||
# networking.firewall.enable = false;
|
# networking.firewall.enable = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user