27 lines
464 B
Nix
27 lines
464 B
Nix
{
|
|
inputs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
inputs.flake-parts.flakeModules.modules
|
|
];
|
|
|
|
config = {
|
|
# Have to nest `systems` in `config` otherwise flake-parts gets mad for some reason
|
|
systems = [
|
|
"aarch64-darwin"
|
|
"aarch64-linux"
|
|
"x86_64-darwin"
|
|
"x86_64-linux"
|
|
];
|
|
};
|
|
|
|
# Enables the *Factory Aspect*
|
|
options.flake.factory = lib.mkOption {
|
|
type = lib.types.attrsOf lib.types.unspecified;
|
|
default = { };
|
|
};
|
|
}
|