2023-10-24 17:57:30 +02:00
|
|
|
# nixos-wiki-infra
|
|
|
|
|
|
|
|
This project contains everything to setup yourself a mirror of https://nixos.wiki/
|
2023-10-24 18:49:26 +02:00
|
|
|
|
2023-11-06 11:26:30 +01:00
|
|
|
## Demo
|
|
|
|
|
|
|
|
I have one instance deployed [here](https://nixos-wiki.thalheim.io/wiki/Main_Page)
|
|
|
|
|
2023-10-24 18:52:38 +02:00
|
|
|
## Examples
|
|
|
|
|
|
|
|
Checkout [./targets/nixos-wiki2.thalheim.io]() for an example terraform deployment on hetzner cloud.
|
|
|
|
|
|
|
|
## Restoring from an backup
|
|
|
|
|
2023-10-24 18:49:26 +02:00
|
|
|
After installing run:
|
|
|
|
|
|
|
|
```
|
|
|
|
systemctl start wiki-backup.service && systemctl start wiki-restore
|
|
|
|
```
|
2023-10-24 18:52:38 +02:00
|
|
|
|
|
|
|
Note that `nixos-wiki-backup` will do this restore every night.
|
|
|
|
|
2023-11-06 11:26:30 +01:00
|
|
|
## Outstanding patches
|
|
|
|
|
|
|
|
I have encountered some regressions in mediawiki's latest release.
|
|
|
|
Patches are included in this repository.
|
|
|
|
The patches have been sent to upstream here: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/971581
|