okay ked, some stronger hashed

This commit is contained in:
Noa Aarts 2024-03-15 23:31:36 +01:00
parent 709ac92b6d
commit 3054b0692d
2 changed files with 12 additions and 7 deletions

View file

@ -79,12 +79,17 @@
users.groups.nixpow.members = [ "root" ]; users.groups.nixpow.members = [ "root" ];
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.noa = { users.users = {
isNormalUser = true; root = {
description = "Noa Aarts"; isSystemUser = true;
extraGroups = [ "networkmanager" "wheel" "nixpow" ]; description = "Root";
packages = with pkgs; [ hashedPassword = "!";
]; noa = {
isNormalUser = true;
description = "Noa Aarts";
extraGroups = [ "networkmanager" "wheel" "nixpow" ];
hashedPassword = "$6$rounds=512400$Zip3xoK2zcoR4qEL$N13YTHO5tpWfx2nKb1sye.ZPwfoRtMQ5f3YrMZqKzzoFoSSHHJ.l5ulCEa9HygFxZmBtPnwlseFEtl8ERnwF50";
};
}; };
home-manager = { home-manager = {

View file

@ -77,7 +77,7 @@
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINWtje7dGqyrBY7PLq6DANvUR6yfungQNsXGkTO6PP6/ noa@NoasPCArch" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINWtje7dGqyrBY7PLq6DANvUR6yfungQNsXGkTO6PP6/ noa@NoasPCArch"
]; ];
hashedPassword = "$y$j9T$Essu0/awyRr6Z8PfSlYod.$B.TZp3vh4t84NAgEhLDJ5E8ESbPao/X8uqrU/E.xxr4"; hashedPassword = "$6$rounds=512400$g/s4dcRttXi4ux6c$Z6pKnhJXcWxv0TBSMtvJu5.piETdUBSgBVN7oDPKiQV.lbTYz1r.0XQLwMYxzcvaaX0DL6Iw/SEUTiC2M50wC/";
}; };
}; };