refactor: enable foundation, standardize exports
This commit is contained in:
parent
fea8c2cd9c
commit
b3f9fe574e
|
@ -12,24 +12,13 @@
|
|||
{
|
||||
__file__ = ./default.nix;
|
||||
|
||||
# options.foundation = lib.options.create {
|
||||
# type = lib.types.attrs.of lib.types.derivation;
|
||||
# };
|
||||
options.foundation = lib.options.create {
|
||||
type = lib.types.attrs.of lib.types.derivation;
|
||||
};
|
||||
|
||||
# config.foundation = foundation;
|
||||
# config.packages.foundation =
|
||||
# builtins.mapAttrs (name: package: {
|
||||
# name = package.name;
|
||||
|
||||
# inherit package;
|
||||
|
||||
# meta = package.meta;
|
||||
# })
|
||||
# foundation;
|
||||
config.foundation = foundation;
|
||||
}
|
||||
];
|
||||
};
|
||||
in
|
||||
result.config
|
||||
# result.config.exported
|
||||
|
||||
result.config.exported
|
||||
|
|
Loading…
Reference in a new issue