hehehehehe, got multi user config started. now, somehow, fix home-manager to work per user...

This commit is contained in:
Chris Kruining 2025-03-16 23:28:04 +01:00
parent b139021f8e
commit 00e0fae167
5 changed files with 12 additions and 9 deletions

View file

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