diff options
Diffstat (limited to 'modules/outputs.nix')
| -rw-r--r-- | modules/outputs.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/outputs.nix b/modules/outputs.nix new file mode 100644 index 0000000..3ceaf7c --- /dev/null +++ b/modules/outputs.nix @@ -0,0 +1,15 @@ +{ lib, ... }: + +let + outputsSubmodule = { + freeformType = lib.types.lazyAttrsOf lib.types.raw; + }; +in + +{ + options.outputs = lib.mkOption { + type = lib.types.submodule outputsSubmodule; + default = { }; + description = "Outputs to pass to the top-level file."; + }; +} |
