File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 240240 machinesDir ? null ,
241241 usersDir ? null ,
242242 } :
243+ let
244+ utils = import ./lib { inherit usersDir rootDir machinesDir ; } ;
245+ in
243246 {
244247 dirs = {
245248 lib = self + "/lib" ;
256259 usersDir
257260 ;
258261 } ;
259- utils = import ./lib { inherit usersDir rootDir machinesDir ; } ;
262+ inherit utils ;
263+ } ;
264+
265+ modules = {
266+ users = import ./modules/users.nix utils ;
260267 } ;
261268 } ;
262269 } ;
Original file line number Diff line number Diff line change 1- {
2- usersDir ,
3- rootDir ,
4- machinesDir ,
5- } :
1+ utils :
62{
73 config ,
84 lib ,
128 cfg = config . users ;
139 enabled = cfg . includedUsers != [ ] || cfg . includedGroups != [ ] ;
1410
15- utils = import ../lib { inherit usersDir rootDir machinesDir ; } ;
1611 allUsers = utils . usersInfo ;
1712 allGroups =
1813 let
You can’t perform that action at this time.
0 commit comments