labs/potluck/src/packages/default.nix

28 lines
455 B
Nix
Raw Normal View History

{
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"];
in {
includes = [
2024-06-12 22:00:03 -07:00
# ./aux/foundation.nix
];
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-13 10:22:57 -07:00
config = {
packages.targeted.i686-linux = generic;
};
}