configurations for my servers and desktops
nix nixos flake dots dotfiles

fix: tailscale and ssh stuff

+6 -1
+1 -1
modules/nixos/services/ssh.nix
··· 2 2 services = { 3 3 openssh = { 4 4 enable = true; 5 - settings.PasswordAuthentication = true; 5 + settings.PasswordAuthentication = false; 6 6 }; 7 7 fail2ban.enable = true; 8 8 };
+5
modules/nixos/services/tailscale.nix
··· 14 14 ''; 15 15 }; 16 16 }; 17 + 18 + boot.kernel.sysctl = { 19 + "net.ipv4.ip_forward" = 1; 20 + "net.ipv6.conf.all.forwarding" = 1; 21 + }; 17 22 }