(re-)exposing upstream (nixpkgs) modules #329
Labels
maintenance
Cleanup, refactoring, improving discoverability, tending to continuos integration
service
Create a NixOS service module
Context: #305 (comment)
TLDR:
Currently, in ngipkgs, we are re-exposing nixpkgs modules like this:
But the ideal way to expose those modules would be this:
Proposed solution:
We can call
evalModules
on https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/module-list.nix (AFAIK this is where all default NixOS modules are imported from) and getoptions
on the result, finally, useunsafeGetAttrPos
to get the file location.Am I missing anything? I want to double check here before I go on and implement this
The text was updated successfully, but these errors were encountered: