nixos/documentation: remove unnecessary _file using __curPos
Move the inline modularServicesModule to a separate file so the module system sets _file automatically from the file path, removing the need for __curPos.
This commit is contained in:
@@ -18,7 +18,6 @@ let
|
||||
};
|
||||
|
||||
modularServicesModule = {
|
||||
_file = "${__curPos.file}:${toString __curPos.line}";
|
||||
options = {
|
||||
"<imports = [ pkgs.ghostunnel.services.default ]>" = fakeSubmodule pkgs.ghostunnel.services.default;
|
||||
"<imports = [ pkgs.php.services.default ]>" = fakeSubmodule pkgs.php.services.default;
|
||||
|
||||
Reference in New Issue
Block a user