enable mediawiki

This commit is contained in:
Winzlieb - 2021-09-05 00:48:25 +02:00
parent f2d1686520
commit 4a102b5f3c
1 changed files with 7 additions and 3 deletions

View File

@ -17,11 +17,15 @@
networking.useDHCP = false;
networking.firewall.allowedTCPPorts = [ 80 ];
# Enable a web server.
services.httpd = {
services.mediawiki = {
enable = true;
adminAddr = "morty@example.org";
virtualHost = {
hostName = "flake-test";
adminAddr = "root@example.com";
};
passwordFile = pkgs.writeText "password" "topSecret";
};
})
];
};