Add: encrypted password for dunoz user
This commit is contained in:
parent
1151aaa3cb
commit
55c3398a43
3 changed files with 13 additions and 5 deletions
|
|
@ -29,11 +29,16 @@ in {
|
|||
PasswordAuthentication = true;
|
||||
};
|
||||
|
||||
users.users.dunoz = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
initialPassword = "temp";
|
||||
shell = pkgs.zsh;
|
||||
age.identityPaths = [ "/etc/agenix/penduick.key" ];
|
||||
age.secrets."dunoz-password-penduick".file = ../../secrets/dunoz-password-penduick.age;
|
||||
users= {
|
||||
mutableUsers = false ;
|
||||
users.dunoz = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
hashedPasswordFile = config.age.secrets."dunoz-password-penduick".path;
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
|
|
@ -44,6 +49,7 @@ in {
|
|||
environment.systemPackages = with pkgs; [
|
||||
git htop wget curl
|
||||
neovim
|
||||
age ssh-to-age
|
||||
];
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue