diff options
| author | Alejandro Soto <alejandro@34project.org> | 2026-02-08 22:35:36 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2026-02-08 22:35:36 -0600 |
| commit | cb6213955ac77d5eb0830e09ca1f5eebb5da02ee (patch) | |
| tree | e7f802f6c84932f5a9ab122d8087f688b93947de /modules/mediawiki/options.nix | |
| parent | 4a822c48da5a3aa4550fd0fad2697fd023c1810a (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 06acbf1..9fe0723 100644 --- a/modules/mediawiki/options.nix +++ b/modules/mediawiki/options.nix @@ -12,21 +12,21 @@ with lib.types; { description = "name of the wiki"; example = "posixlycorrect wiki"; }; - + passwordFile = lib.mkOption { type = types.path; description = "path of passwordfile for mediawiki"; example = "/run/keys/mediawiki-password"; }; - + skins = lib.mkOption { type = types.attrsOf (types.nullOr str); description = "skins for mediawiki"; - example = ''{ - citizen = "flakes.mediawikiSkinCitizen"; - };''; + example = '' { + citizen = "flakes.mediawikiSkinCitizen"; + };''; }; - + extraConfig = lib.mkOption { type = str; example = '' @@ -52,21 +52,21 @@ with lib.types; { extensions = lib.mkOption { type = types.attrsOf (types.nullOr types.path); description = "some extensions are included and can enabled by passing 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; - };''; + 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; + };''; }; }; } |
