feat(ref): use initialHashedPassword for users/youwen

This commit is contained in:
Youwen Wu 2024-12-27 18:37:00 -08:00
parent 02361e42cf
commit 3ad407664b
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
4 changed files with 14 additions and 11 deletions

View file

@ -72,16 +72,6 @@
"/dev/disk/by-uuid/af320a0f-b388-43f5-b5a3-af2b47cfc716";
};
users.users.youwen = {
isNormalUser = true;
description = "Youwen Wu";
extraGroups = [
"networkmanager"
"wheel"
];
shell = pkgs.fish;
};
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave

View file

@ -1,7 +1,7 @@
{ lib, ... }:
{
imports = [
../../users/youwen
../../users/youwen/hm.nix
];
home.stateVersion = "24.05";

View file

@ -0,0 +1,13 @@
{ pkgs, ... }:
{
users.users.youwen = {
isNormalUser = true;
description = "Youwen Wu";
extraGroups = [
"networkmanager"
"wheel"
];
shell = pkgs.fish;
initialHashedPassword = "$y$j9T$v0OkEeCntj8KwgPJQxyWx0$dx8WtFDYgZZ8WE3FWetWwRfutjQkznRuJ0IG3LLAtP2";
};
}