hehehehehe, got multi user config started. now, somehow, fix home-manager to work per user...
This commit is contained in:
parent
b139021f8e
commit
00e0fae167
5 changed files with 12 additions and 9 deletions
|
@ -10,10 +10,10 @@ in rec
|
|||
in
|
||||
{
|
||||
inherit name;
|
||||
inherit (user) is_trusted;
|
||||
description = user.full_name;
|
||||
extraGroups = (if user.is_trusted then [ "wheel" ] else []);
|
||||
extraGroups = (user.groups or []) ++ (if user.is_trusted then [ "wheel" ] else []);
|
||||
isNormalUser = true;
|
||||
initialPassword = "kaas";
|
||||
home = "/home/${name}";
|
||||
group = "users";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue