trivionomicon: mediawiki: formatting

This commit is contained in:
Alejandro Soto 2026-02-08 22:35:36 -06:00
parent b4974a7fc6
commit ef8a009da3
2 changed files with 23 additions and 22 deletions

View file

@ -22,7 +22,7 @@ with lib.types; {
skins = lib.mkOption { skins = lib.mkOption {
type = types.attrsOf (types.nullOr str); type = types.attrsOf (types.nullOr str);
description = "skins for mediawiki"; description = "skins for mediawiki";
example = ''{ example = '' {
citizen = "flakes.mediawikiSkinCitizen"; citizen = "flakes.mediawikiSkinCitizen";
};''; };'';
}; };
@ -52,7 +52,7 @@ with lib.types; {
extensions = lib.mkOption { extensions = lib.mkOption {
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";
example = ''{ example = '' {
VisualEditor = null; VisualEditor = null;
CategoryTree = null; CategoryTree = null;
CiteThisPage = null; CiteThisPage = 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} = {