set proper initialPasswords

This commit is contained in:
Osman Faruk Bayram 2025-10-29 00:51:21 +03:00
parent 21e9275e5a
commit d5d5af7715

View file

@ -10,6 +10,7 @@ in
(lib.genAttrs regularUsers (username: { (lib.genAttrs regularUsers (username: {
isNormalUser = true; isNormalUser = true;
description = username; description = username;
initialPassword = "changeme";
extraGroups = [ extraGroups = [
"networkmanager" "networkmanager"
] ]
@ -26,6 +27,16 @@ in
]; ];
}; };
} }
{
root = {
initialPassword = "changeme";
openssh.authorizedKeys.keys = lib.mkDefault [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPfnV+qqUCJf92npNW4Jy0hIiepCJFBDJHXBHnUlNX0k"
];
};
}
]; ];
}; };