Fix password_hash.

This commit is contained in:
jay
2025-07-10 07:45:24 -04:00
parent 9d30869c02
commit 0e4d790e30
2 changed files with 14 additions and 7 deletions

View File

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