trivionomicon: mediawiki: formatting

This commit is contained in:
Alejandro Soto 2026-02-08 22:51:02 -06:00
parent 47390d14a3
commit f057233bc5
2 changed files with 23 additions and 22 deletions

View file

@ -23,9 +23,9 @@ with lib.types; {
type = types.attrsOf (types.nullOr str); type = types.attrsOf (types.nullOr str);
description = "skins for mediawiki"; description = "skins for mediawiki";
default = {}; default = {};
example = ''{ example = '' {
citizen = "flakes.mediawikiSkinCitizen"; citizen = "flakes.mediawikiSkinCitizen";
};''; };'';
}; };
extraConfig = lib.mkOption { extraConfig = lib.mkOption {
@ -42,21 +42,21 @@ with lib.types; {
type = types.attrsOf (types.nullOr types.path); type = types.attrsOf (types.nullOr types.path);
description = "some extensions are included and can enabled by passing null"; description = "some extensions are included and can enabled by passing null";
default = {}; default = {};
example = ''{ example = '' {
VisualEditor = null; VisualEditor = null;
CategoryTree = null; CategoryTree = null;
CiteThisPage = null; CiteThisPage = null;
Scribunto = null; Scribunto = null;
Cite = null; Cite = null;
CodeEditor = null; CodeEditor = null;
Math = null; Math = null;
MultimediaViewer = null; MultimediaViewer = null;
PdfHandler = null; PdfHandler = null;
Poem = null; Poem = null;
SecureLinkFixer = null; SecureLinkFixer = null;
WikiEditor = null; WikiEditor = null;
ParserFunctions = null; ParserFunctions = null;
};''; };'';
}; };
}; };
} }

View file

@ -4,7 +4,8 @@
cfg, cfg,
doctrine, doctrine,
... ...
}: with lib; { }:
with lib; {
services = { services = {
nginx = { nginx = {
virtualHosts.${cfg.hostName} = { virtualHosts.${cfg.hostName} = {