disable root login

This commit is contained in:
Dennis Frieberg 2023-09-29 01:13:30 +02:00
parent c7825cbd01
commit d0d7237fa6
Signed by: nerf
GPG key ID: 42DED0E2D8F04FB6

View file

@ -23,6 +23,7 @@ networking = {
users = { users = {
mutableUsers = false; mutableUsers = false;
users.root.hashedPassword = "!";
}; };
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];