no passwords

This commit is contained in:
Daylin Morgan 2023-05-04 09:58:03 -05:00
parent dd37a55211
commit aeacb8fdfd
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -104,7 +104,10 @@
};
# Enable the OpenSSH daemon.
services.openssh.enable = true;
services.openssh = {
enable = true;
passwordAuthentication = false;
};
users.mutableUsers = false;
# This value determines the NixOS release from which the default