ajout php-xml pour le template
This commit is contained in:
parent
7dd00fe792
commit
0d171f8026
1 changed files with 14 additions and 4 deletions
|
@ -1,8 +1,11 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
let
|
||||||
|
hostname = "hackens.ens.fr";
|
||||||
|
in
|
||||||
{
|
{
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||||
# TODO: move to hackens.org
|
# TODO: move to hackens.org
|
||||||
services.dokuwiki.sites."hackens.ens.fr" = {
|
services.dokuwiki.sites."${hostname}" = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -66,10 +69,17 @@
|
||||||
# And then pass this theme to the template list like this:
|
# And then pass this theme to the template list like this:
|
||||||
in [
|
in [
|
||||||
template-bootstrap3 {
|
template-bootstrap3 {
|
||||||
logo = https://hackens.org/_media/wiki/logo.png;
|
logo = ./media/logo.png;
|
||||||
favicon = https://hackens.org/_media/wiki/favicon.ico;
|
favicon = ./media/favicon.ico;
|
||||||
apple-touch-icon = https://hackens.org/_media/wiki/logo.png;
|
apple-touch-icon = ./media/logo.png;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
# On veut php-xml
|
||||||
|
services.phpfpm.pools."dokuwiki-${hostname}".phpPackage = pkgs.php74.withExtensions(
|
||||||
|
{ all, ... }:
|
||||||
|
[
|
||||||
|
all.xml
|
||||||
|
];
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue