Improve ssh security and open firewall

This commit is contained in:
Bad 2021-07-07 12:55:16 +02:00
parent 224f955657
commit a58e767fe1

View file

@ -4,6 +4,8 @@
forwardX11 = true; forwardX11 = true;
permitRootLogin = "no"; permitRootLogin = "no";
startWhenNeeded = true; startWhenNeeded = true;
openFirewall = true;
passwordAuthentication = false;
}; };
nix.sshServe.enable = true; nix.sshServe.enable = true;
nix.sshServe.keys = [ nix.sshServe.keys = [