ghost: create rena wiki
This commit is contained in:
parent
ff7c1b3bb3
commit
80ef3f0e6c
4 changed files with 41 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
./syncthing.nix
|
||||
./users.nix
|
||||
./writefreely.nix
|
||||
./renawiki.nix
|
||||
];
|
||||
|
||||
# Use more aggressive compression then the default.
|
||||
|
|
23
hosts/ghost/renawiki.nix
Normal file
23
hosts/ghost/renawiki.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ config, pkgs, inputs, ... }: {
|
||||
services.mediawiki = {
|
||||
enable = true;
|
||||
name = "Rena Wiki";
|
||||
|
||||
webserver = "nginx";
|
||||
nginx.hostName = "renawiki.lelgenio.xyz";
|
||||
passwordFile = config.age.secrets.ghost-renawiki.path;
|
||||
|
||||
extensions.VisualEditor = null;
|
||||
};
|
||||
services.nginx.virtualHosts."renawiki.lelgenio.xyz" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
|
||||
age.secrets.ghost-renawiki = {
|
||||
file = ../../secrets/ghost-renawiki.age;
|
||||
mode = "400";
|
||||
owner = "mediawiki";
|
||||
};
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue