labs/tidepool/default.nix

28 lines
559 B
Nix

{
lib ? import ./../lib,
foundation ? import ./../foundation {system = "i686-linux";},
}: let
modules = import ./src/modules.nix;
result = lib.modules.run {
modules =
(builtins.attrValues modules)
++ [
./src/export.nix
{
__file__ = ./default.nix;
options.foundation = lib.options.create {
type = lib.types.attrs.of lib.types.derivation;
};
config.foundation = foundation;
}
];
};
in
result.config.exported
// {
inherit (result) config;
}