hosts/minecraft: init

This commit is contained in:
Gerg-L 2024-08-16 15:07:55 -04:00
parent dadadeed31
commit 779b3e7cb6
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
7 changed files with 260 additions and 3 deletions

View file

@ -40,7 +40,12 @@
programs.mtr.enable = true; # ping and traceroute
services.openssh = {
enable = true;
hostKeys = lib.mkForce [ ];
hostKeys = lib.mkForce [
{
path = "/etc/ssh/ssh_host_ed25519_key";
type = "ed25519";
}
];
settings = {
PermitRootLogin = lib.mkDefault "no";
PasswordAuthentication = false;