2024-06-11 04:39:26 -07:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
}: let
|
|
|
|
lib' = config.lib;
|
2024-06-13 10:22:57 -07:00
|
|
|
|
|
|
|
doubles = lib'.systems.doubles.all;
|
|
|
|
|
|
|
|
generic = builtins.removeAttrs config.packages ["targeted"];
|
2024-06-11 04:39:26 -07:00
|
|
|
in {
|
|
|
|
includes = [
|
2024-06-12 22:00:03 -07:00
|
|
|
# ./aux/foundation.nix
|
2024-06-11 04:39:26 -07:00
|
|
|
];
|
|
|
|
|
|
|
|
options = {
|
|
|
|
packages = lib.options.create {
|
2024-06-13 10:22:57 -07:00
|
|
|
default.value = {};
|
|
|
|
type = lib.types.attrs.of (lib.types.submodule {
|
|
|
|
freeform = lib.types.any;
|
|
|
|
});
|
2024-06-11 04:39:26 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-06-13 10:22:57 -07:00
|
|
|
config = {
|
|
|
|
packages.targeted.i686-linux = generic;
|
|
|
|
};
|
2024-06-11 04:39:26 -07:00
|
|
|
}
|