System : Add pw hashes.

This commit is contained in:
Dmitry Voronin 2024-01-26 01:30:58 +03:00
parent 279a181ba9
commit 1464a598b4
3 changed files with 17 additions and 12 deletions

View file

@ -36,6 +36,9 @@
zip unzip
];
# Root user.
users.users.root.hashedPasword = "$y$j9T$oGtA4mQejYUY1NDwq89BD0$JU9lGQ/9JHSJT4COjVBMti0rk5XHKhlyMDoCSSb4FOB"; # Use `mkpasswd`.
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;

View file

@ -2,11 +2,12 @@
{
users.users.dasha = {
uid = 1001;
createHome = true;
isNormalUser = true;
description = "Daria Dranchak";
extraGroups = [ "networkmanager" ];
packages = with pkgs; [ ];
hashedPasword = "$y$j9T$WGMPv/bRhGBUidcZLZ7CE/$raZhwFFdI/XvegVZVHLILJLMiBkOxSErc6gao/Cxt33"; # Use `mkpasswd`.
uid = 1001;
createHome = true;
isNormalUser = true;
description = "Daria Dranchak";
extraGroups = [ "networkmanager" ];
packages = with pkgs; [ ];
};
}

View file

@ -2,11 +2,12 @@
{
users.users.voronind = {
uid = 1000;
createHome = true;
isNormalUser = true;
description = "Dmitry Voronin";
extraGroups = [ "networkmanager" ];
packages = with pkgs; [ ];
hashedPasword = "$y$j9T$rKgZoYowFRGVehQOKr0y41$4kiumsRDBYS8NLWvOwlEyzoaS8f21kn3dcUR74waCQ."; # Use `mkpasswd`.
uid = 1000;
createHome = true;
isNormalUser = true;
description = "Dmitry Voronin";
extraGroups = [ "networkmanager" ];
packages = with pkgs; [ ];
};
}