Try mutableUsers

This commit is contained in:
hodasemi 2025-06-03 11:00:48 +02:00
parent f9ccd94c1c
commit a698eda0d1

View file

@ -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";
};
}; };
}; };
} }