nixos-server-conf/shared/dev_user.nix
System administrator f9ccd94c1c Add nixos hash
2025-05-23 07:10:59 +00:00

22 lines
448 B
Nix

{
config,
lib,
pkgs,
modulesPath,
...
}:
{
users.users = {
# connection only via hashed password;
dev = {
isNormalUser = true;
home = "/home/dev";
description = "User used to manually connect to this system (e.g. for maintenance)";
extraGroups = [
"docker"
"wheel"
];
hashedPassword = "$y$j9T$akQcwTP8gsnlVMq9dA18s/$pLpvci.Hn3rIucvO5u86LCQJYd9.Z4zenbAJ9RGtDL8";
};
};
}