feat(laozi): add hashed password as default
This commit is contained in:
parent
fde6fcaaa9
commit
8ff1baaf2d
|
@ -8,7 +8,7 @@ let
|
|||
# isMinimal is true in the nixos-installer/flake.nix
|
||||
fullUserConfig = lib.optionalAttrs (!configVars.isMinimal)
|
||||
{
|
||||
users.users.${configVars.username} = {
|
||||
users.users.${configVars.username} = {
|
||||
# hashedPasswordFile = sopsHashedPasswordFile;
|
||||
packages = [ pkgs.home-manager ];
|
||||
};
|
||||
|
@ -24,8 +24,8 @@ in
|
|||
users.mutableUsers = false; # Only allow declarative credentials; Required for sops
|
||||
users.users.${configVars.username} = {
|
||||
isNormalUser = true;
|
||||
# password = "nixos"; # Overridden if sops is working
|
||||
|
||||
# Default password
|
||||
hashedPassword = "$6$gqmjBcKTV.mEEFHT$00sEfU1PmYpteavq3ihu5GfxWjnG3wKB56TlyhC3f/XTDg2W/SGH1d78eNRdazHR0/5wiCJmHRNgRaRAP1mpP/"; # Overridden if sops is working
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
] ++ ifTheyExist [
|
||||
|
|
Loading…
Reference in New Issue