Try mutableUsers
This commit is contained in:
parent
f9ccd94c1c
commit
a698eda0d1
1 changed files with 15 additions and 11 deletions
|
@ -6,17 +6,21 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
users.users = {
|
users = {
|
||||||
# connection only via hashed password;
|
mutableUsers = true;
|
||||||
dev = {
|
|
||||||
isNormalUser = true;
|
users = {
|
||||||
home = "/home/dev";
|
# connection only via hashed password;
|
||||||
description = "User used to manually connect to this system (e.g. for maintenance)";
|
dev = {
|
||||||
extraGroups = [
|
isNormalUser = true;
|
||||||
"docker"
|
home = "/home/dev";
|
||||||
"wheel"
|
description = "User used to manually connect to this system (e.g. for maintenance)";
|
||||||
];
|
extraGroups = [
|
||||||
hashedPassword = "$y$j9T$akQcwTP8gsnlVMq9dA18s/$pLpvci.Hn3rIucvO5u86LCQJYd9.Z4zenbAJ9RGtDL8";
|
"docker"
|
||||||
|
"wheel"
|
||||||
|
];
|
||||||
|
# hashedPassword = "$y$j9T$akQcwTP8gsnlVMq9dA18s/$pLpvci.Hn3rIucvO5u86LCQJYd9.Z4zenbAJ9RGtDL8";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue