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 244244 machinesDir ? null ,
245245 usersDir ? null ,
246246 } :
247+ let
248+ utils = import ./lib { inherit usersDir rootDir machinesDir ; } ;
249+ in
247250 {
248251 dirs = {
249252 lib = self + "/lib" ;
260263 usersDir
261264 ;
262265 } ;
263- utils = import ./lib { inherit usersDir rootDir machinesDir ; } ;
266+ inherit utils ;
267+ } ;
268+
269+ modules = {
270+ users = import ./modules/users.nix utils ;
264271 } ;
265272 } ;
266273 } ;
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