diff --git a/lib/modules.nix b/lib/modules.nix index 654c4c588de..019f11d11bc 100644 --- a/lib/modules.nix +++ b/lib/modules.nix @@ -664,6 +664,7 @@ rec { in { config, options, ... }: { options = setAttrByPath from (mkOption { + inherit visible; description = "Alias of ."; apply = x: use (toOf config); });