configure NixOS to allow configuration without password nor ssh key

This commit is contained in:
Alexander Tomokhov 2024-01-23 16:37:26 +04:00
parent d389b6785f
commit 2d4e7e89a1

View file

@ -3,8 +3,9 @@ let
cfg = config.selfprivacy; cfg = config.selfprivacy;
in in
{ {
users.mutableUsers = false;
users = { users = {
mutableUsers = false;
allowNoPasswordLogin = true;
users = { users = {
"${cfg.username}" = { "${cfg.username}" = {
isNormalUser = true; isNormalUser = true;