1
0
Fork 0
mirror of https://github.com/hercules-ci/flake-parts.git synced 2024-12-14 11:47:31 +00:00
flake-parts/modules/flake.nix

24 lines
463 B
Nix
Raw Normal View History

2023-05-29 17:52:03 +00:00
{ lib, ... }:
2021-11-21 14:47:11 +00:00
let
inherit (lib)
mkOption
types
;
in
{
options = {
flake = mkOption {
type = types.submoduleWith {
modules = [
{ freeformType = types.lazyAttrsOf types.raw; }
2021-11-21 14:47:11 +00:00
];
};
2022-11-11 06:39:25 +00:00
description = ''
2022-11-11 05:40:37 +00:00
Raw flake output attributes. Any attribute can be set here, but some
2021-11-21 14:47:11 +00:00
attributes are represented by options, to provide appropriate
configuration merging.
'';
};
};
}