mirror of
https://github.com/hercules-ci/flake-parts.git
synced 2025-03-14 04:38:44 +00:00
27 lines
516 B
Nix
27 lines
516 B
Nix
|
{ config, lib, ... }:
|
||
|
let
|
||
|
inherit (lib)
|
||
|
filterAttrs
|
||
|
mapAttrs
|
||
|
mkOption
|
||
|
optionalAttrs
|
||
|
types
|
||
|
;
|
||
|
in
|
||
|
{
|
||
|
options = {
|
||
|
flake = mkOption {
|
||
|
type = types.submoduleWith {
|
||
|
modules = [
|
||
|
{ freeformType = types.lazyAttrsOf types.anything; }
|
||
|
];
|
||
|
};
|
||
|
description = ''
|
||
|
Raw flake attributes. Any attribute can be set here, but some
|
||
|
attributes are represented by options, to provide appropriate
|
||
|
configuration merging.
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|