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;
permitRootLogin = "no";
startWhenNeeded = true;
openFirewall = true;
passwordAuthentication = false;
};
nix.sshServe.enable = true;
nix.sshServe.keys = [