forked from extern/nixos-wiki-infra
This project contains everything to setup yourself a mirror of https://nixos.wiki/
31c3a98630
Flake lock file updates: • Updated input 'disko': 'github:nix-community/disko/8c5d52db5690c72406b0cb13a5ac8554a287c93a' (2023-10-24) → 'github:nix-community/disko/72bc1526268fda374cd17315e37b64ba340c5bf2' (2023-11-08) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/c9afaba3dfa4085dbd2ccb38dfade5141e33d9d4' (2023-10-03) → 'github:hercules-ci/flake-parts/8c9fa2545007b49a5db5f650ae91f227672c3877' (2023-11-01) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/7c9cc5a6e5d38010801741ac830a3f8fd667a7a0' (2023-10-19) → 'github:NixOS/nixpkgs/85f1ba3e51676fa8cc604a3d863d729026a6b8eb' (2023-11-04) • Updated input 'sops-nix': 'github:Mic92/sops-nix/30a0ba4a20703b4bfe047fe5def1fc24978e322c' (2023-10-22) → 'github:Mic92/sops-nix/664187539871f63857bda2d498f452792457b998' (2023-11-06) • Updated input 'srvos': 'github:numtide/srvos/8d554f30b308b06d20c3d5cef211e7c14d8d1a32' (2023-10-23) → 'github:numtide/srvos/8963b35a9e651cd1aa498ba38a1b594795516951' (2023-11-08) • Added input 'srvos/nixos-23_05': 'github:NixOS/nixpkgs/aeefe2054617cae501809b82b44a8e8f7be7cc4b' (2023-11-05) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/aae39f64f5ecbe89792d05eacea5cb241891292a' (2023-10-15) → 'github:numtide/treefmt-nix/5deb8dc125a9f83b65ca86cf0c8167c46593e0b1' (2023-10-27) |
||
---|---|---|
modules | ||
targets | ||
terraform | ||
.envrc.private-template | ||
.gitignore | ||
.mergify.yml | ||
.sops.yaml | ||
flake.lock | ||
flake.nix | ||
LICENSE.md | ||
README.md |
nixos-wiki-infra
This project contains everything to setup yourself a mirror of https://nixos.wiki/
Demo
I have one instance deployed here
Examples
Checkout ./targets/nixos-wiki2.thalheim.io for an example terraform deployment on hetzner cloud.
Restoring from an backup
After installing run:
systemctl start wiki-backup.service && systemctl start wiki-restore
Note that nixos-wiki-backup
will do this restore every night.
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