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:
Philip Taron
2026-02-16 12:55:14 -08:00
parent 59a9cbba4a
commit db36fea9ec
@@ -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;