nixos-server-conf/shared/dev_user.nix
2025-05-23 08:29:47 +02: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$BKWWfkRaZGvzmh5ezSSHV1$xy4v/WIDkWD9J3qTAB37Tys.6uEouRvmNqU42lWSRv7";
};
};
}