docs: mkpasswd

This commit is contained in:
Ryan Yin
2025-07-17 23:07:05 +08:00
parent e0fe69b887
commit 9548fef641
2 changed files with 1 additions and 2 deletions

View File

@@ -20,7 +20,6 @@
};
users.users."${myvars.username}" = {
# generated by `mkpasswd -m scrypt`
# we have to use initialHashedPassword here when using tmpfs for /
inherit (myvars) initialHashedPassword;
home = "/home/${myvars.username}";

View File

@@ -3,7 +3,7 @@
userfullname = "Ryan Yin";
useremail = "xiaoyin_c@qq.com";
networking = import ./networking.nix {inherit lib;};
# generated by `mkpasswd -m scrypt`
# generated by `mkpasswd -m scrypt --rounds=11`
initialHashedPassword = "$7$CU..../....KDvTIXqLTXpmCaoUy2yC9.$145eM358b7Q0sRXgEBvxctd5EAuEEdao57LmZjc05D.";
# Public Keys that can be used to login to all my PCs, Macbooks, and servers.
#