configure NixOS to allow configuration without password nor ssh key

pull/55/head
Alexander Tomokhov 2024-01-23 16:37:26 +04:00
parent d389b6785f
commit 2d4e7e89a1
1 changed files with 2 additions and 1 deletions

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;