summaryrefslogtreecommitdiff
path: root/modules/outputs.nix
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-03-11 16:31:03 -0400
committerSeth Flynn <[email protected]>2025-03-11 17:57:46 -0400
commit336dc00a94e39337c64decd6d0f4f6e4a4d43187 (patch)
tree7e5cb2b56913e398afab4de495bed0401a16493f /modules/outputs.nix
initial commitHEADmain
Diffstat (limited to 'modules/outputs.nix')
-rw-r--r--modules/outputs.nix15
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.";
+ };
+}