No...make it a module

This commit is contained in:
Peter Selby
2023-11-06 15:45:46 -08:00
parent 4fe890b0a3
commit 1593539fea
4 changed files with 15 additions and 10 deletions
+2 -4
View File
@@ -38,7 +38,7 @@ 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
@@ -46,9 +46,7 @@ in {
user-email
home-dir
enable-gui
lib,
pkgs;
});
}) { inherit pkgs; });
in mapAttrs generate-config local-users;
};
}