We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
opts
1 parent b3ea525 commit 5bd3cb1Copy full SHA for 5bd3cb1
modules/options.nix
@@ -19,6 +19,12 @@ with lib; {
19
};
20
21
22
+ # Added to main 2024-03-29
23
+ # Backported 2024-04-22
24
+ imports = [
25
+ (mkAliasOptionModule ["opts"] ["options"])
26
+ ];
27
+
28
config = {
29
extraConfigLuaPre =
30
optionalString (config.globals != {}) ''
tests/test-sources/modules/options.nix
@@ -0,0 +1,10 @@
1
+{
2
+ opts-backport = {
3
+ opts = {};
4
+ };
5
6
+ example = {
7
+ options = {};
8
+ globals = {};
9
10
+}
0 commit comments