summary refs log tree commit diff
path: root/lib/tests/modules/define-enable-with-custom-arg.nix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/modules/define-enable-with-custom-arg.nix')
-rw-r--r--lib/tests/modules/define-enable-with-custom-arg.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tests/modules/define-enable-with-custom-arg.nix b/lib/tests/modules/define-enable-with-custom-arg.nix
new file mode 100644
index 00000000000..7da74671d14
--- /dev/null
+++ b/lib/tests/modules/define-enable-with-custom-arg.nix
@@ -0,0 +1,7 @@
+{ lib, custom, ... }:
+
+{
+  config = {
+    enable = custom;
+  };
+}