mirror of
https://github.com/Death916/nixconfig.git
synced 2026-04-10 02:54:39 -07:00
tailscale on homelab
This commit is contained in:
parent
dc5e9338b6
commit
1ad1a43d9c
2 changed files with 7 additions and 2 deletions
|
|
@ -25,4 +25,5 @@
|
|||
|
||||
# Keep this consistent with your system's state version
|
||||
home.stateVersion = "24.11";
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,11 @@
|
|||
settings.PasswordAuthentication = false; # Recommended: use SSH keys
|
||||
settings.PermitRootLogin = "no"; # Recommended
|
||||
};
|
||||
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
useRoutingFeatures = "both";
|
||||
};
|
||||
networking.firewall.checkReversePath = "loose"; #needed for tailscale nodes
|
||||
# Define the 'death916' user for the server
|
||||
users.users.death916 = {
|
||||
isNormalUser = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue