Fix password problem.

This commit is contained in:
jay
2025-07-10 14:15:55 +00:00
parent 0e4d790e30
commit 5df2e0d3f5

View File

@@ -1,15 +1,16 @@
{ config, inputs, ... }: {
# Define a user account. Don't forget to set a password with passwd.
sops.secrets = {
jay_password_hash = { };
};
#sops.secrets = {
# jay_password_hash = { };
#};
users = {
mutableUsers = false;
#mutableUsers = false;
users.jay = {
isNormalUser = true;
description = "jay";
hashedPasswordFile = config.sops.secrets.jay_password_hash.path;
#hashedPasswordFile = config.sops.secrets.jay_password_hash.path;
hashedPassword = "$6$RTOXVXRP1iLIXnQb$rVtTeqlJ7g3AcZgftmVdKFnT2ggCsnVayPlT4beLST9Oz2LHGT2fdcOC/yaQkISK3wzFLqh47fSHgQvRUWpl41";
extraGroups = [ "networkmanager" "wheel" ];
};
};