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;
in
{
users.mutableUsers = false;
users = {
mutableUsers = false;
allowNoPasswordLogin = true;
users = {
"${cfg.username}" = {
isNormalUser = true;