nixos-server-conf/shared/dev_user.nix

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$mEpkqs/MEAf0inSuC4pgf/$hQ.yqZuZgl1DiovYfwmWmvEUafTwHOolumQBaoVHEKB";
};
};
}