flake.nix: consistent default.nix semantics

This commit is contained in:
Timothy DeHerrera 2020-01-10 22:39:42 -07:00
parent cef548d232
commit 9b64b50ee8
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122
3 changed files with 5 additions and 4 deletions

View file

@ -37,13 +37,14 @@
value = import path;
});
moduleList = import ./modules;
# modules
moduleList = import ./modules/list.nix;
modulesAttrs = listToAttrs (prep moduleList);
profilesList = import ./profiles;
# profiles
profilesList = import ./profiles/list.nix;
profilesAttrs = { profiles = listToAttrs (prep profilesList); };
in modulesAttrs // profilesAttrs;
};
}