Switch how this works again

This commit is contained in:
Peter Selby
2023-11-06 15:34:48 -08:00
parent bcdafb7994
commit b0bd0f05a0
3 changed files with 9 additions and 8 deletions
+5 -3
View File
@@ -38,15 +38,17 @@ in {
user-email = if (user-cfg.email != null) then
user-cfg.email else "${username}@${config.instance.local-domain}";
home-dir = config.users.users.${username}.home;
in ((import user-configs.${username} {
in (import user-configs.${username} {
inherit
doom-emacs
niten-doom-config
username
user-email
home-dir
enable-gui;
}) { inherit config, lib, pgks, ...});
enable-gui
lib,
pkgs;
});
in mapAttrs generate-config local-users;
};
}