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.
|