From 336dc00a94e39337c64decd6d0f4f6e4a4d43187 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Tue, 11 Mar 2025 16:31:03 -0400 Subject: initial commit --- modules/outputs.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 modules/outputs.nix (limited to 'modules/outputs.nix') 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."; + }; +} -- cgit v1.2.3