default.nix (266B)
1 with builtins; 2 let 3 lib = (import ../nix).lib; 4 userDirs = attrNames (lib.filterAttrs (_: v: v == "directory") (readDir ./.)); 5 mkUser = u: import (./. + "/${u}"); 6 users = lib.genAttrs userDirs mkUser; 7 in 8 { 9 family = with users; [ vincent houbeb ]; 10 } // users