forked from kalipso/infrastructure
dokuwiki: add draft
This commit is contained in:
19
machines/modules/dokuwiki-draft.nix
Normal file
19
machines/modules/dokuwiki-draft.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.dokuwiki."malo" = {
|
||||
enable = true;
|
||||
aclUse = true;
|
||||
usersFile = "/var/lib/dokuwiki/malo/users.auth.php";
|
||||
nginx = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
serverName = "wiki.malobeo.org";
|
||||
};
|
||||
disableActions = "register";
|
||||
extraConfig = ''
|
||||
$conf['title'] = 'malobeo wiki';
|
||||
$conf['lang'] = 'en';
|
||||
'';
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user