diff options
| author | Alejandro Soto <alejandro@34project.org> | 2026-02-08 22:51:02 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2026-02-08 22:51:02 -0600 |
| commit | dc1d778714f8ee47cc2980ae41dafb1d23d17c55 (patch) | |
| tree | b7df8a1bcd65eee771a92d348e2a4fe83c5e884d /modules/mediawiki/options.nix | |
| parent | 878a8a72db8421cf9f893866c79772a551e74614 (diff) | |
trivionomicon: mediawiki: formatting
Diffstat (limited to 'modules/mediawiki/options.nix')
| -rw-r--r-- | modules/mediawiki/options.nix | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/modules/mediawiki/options.nix b/modules/mediawiki/options.nix index 3ab7894..bb39a14 100644 --- a/modules/mediawiki/options.nix +++ b/modules/mediawiki/options.nix @@ -12,22 +12,22 @@ with lib.types; { description = "name of the wiki"; example = "posixlycorrect wiki"; }; - + passwordFile = lib.mkOption { type = types.path; description = "A file containing the initial password for the administrator account 'admin'"; example = "/run/keys/mediawiki-password"; }; - + skins = lib.mkOption { type = types.attrsOf (types.nullOr str); description = "skins for mediawiki"; default = {}; - example = ''{ - citizen = "flakes.mediawikiSkinCitizen"; - };''; + example = '' { + citizen = "flakes.mediawikiSkinCitizen"; + };''; }; - + extraConfig = lib.mkOption { type = str; default = ""; @@ -42,21 +42,21 @@ with lib.types; { type = types.attrsOf (types.nullOr types.path); description = "some extensions are included and can enabled by passing null"; default = {}; - example = ''{ - VisualEditor = null; - CategoryTree = null; - CiteThisPage = null; - Scribunto = null; - Cite = null; - CodeEditor = null; - Math = null; - MultimediaViewer = null; - PdfHandler = null; - Poem = null; - SecureLinkFixer = null; - WikiEditor = null; - ParserFunctions = null; - };''; + example = '' { + VisualEditor = null; + CategoryTree = null; + CiteThisPage = null; + Scribunto = null; + Cite = null; + CodeEditor = null; + Math = null; + MultimediaViewer = null; + PdfHandler = null; + Poem = null; + SecureLinkFixer = null; + WikiEditor = null; + ParserFunctions = null; + };''; }; }; } |
