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,7 +23,7 @@ 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";
};''; };'';
}; };
@ -42,7 +42,7 @@ 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;

View file

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