This commit is contained in:
Fabian Montero 2026-02-10 23:41:09 -06:00
commit 65aafef150
Signed by: fabian
GPG key ID: 8036F30EDBAC8447
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} = {