summaryrefslogtreecommitdiff
path: root/modules/misc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/misc')
-rw-r--r--modules/misc/lib.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/misc/lib.nix b/modules/misc/lib.nix
new file mode 100644
index 0000000..e50794c
--- /dev/null
+++ b/modules/misc/lib.nix
@@ -0,0 +1,15 @@
+{ lib, ... }:
+
+{
+ options = {
+ lib = lib.mkOption {
+ default = { };
+
+ type = lib.types.attrsOf lib.types.attrs;
+
+ description = ''
+ This option allows modules to define helper functions, constants, etc.
+ '';
+ };
+ };
+}