enable mediawiki
This commit is contained in:
parent
f2d1686520
commit
4a102b5f3c
10
flake.nix
10
flake.nix
|
@ -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";
|
||||
};
|
||||
|
||||
})
|
||||
];
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue