dotfiles/modules/config/users/default.nix

18 lines
358 B
Nix
Raw Normal View History

2025-06-26 21:20:09 -05:00
{ moduleFunctions }:
2025-03-29 23:08:26 -05:00
let
2025-06-26 21:20:09 -05:00
inherit (moduleFunctions) usersFunctions;
2025-03-29 23:08:26 -05:00
configPath = ./config;
2025-06-26 21:20:09 -05:00
user0 = usersFunctions.user0;
user1 = usersFunctions.user1;
2025-03-29 23:08:26 -05:00
in
{
inherit
user0
user1
;
users = {
"${user0}" = import (configPath + /user0.nix) { inherit user0; };
"${user1}" = import (configPath + /user1.nix) { inherit user1; };
};
}