add README

This commit is contained in:
Leon Vatthauer 2024-06-25 13:00:17 +02:00
parent 65ce9f116d
commit 748e4a4e96
Signed by: leonv
SSH key fingerprint: SHA256:G4+ddwoZmhLPRB1agvXzZMXIzkVJ36dUYZXf5NxT+u8

View file

@ -1,20 +1,14 @@
# Willem
# Dafoe
Willem is a server running on a Raspberry Pi 400 offering the following services:
- [Gitea](git.vatthauer.xyz)
- [Vaultwarden](bitwarden.vatthauer.xyz)
Dafoe is a server running on a CX11 cloud server by [Hetzner](hetzner.com).
The server offers the following services:
- [Resumee Website](www.vatthauery.xyz)
- [Forgejo (Git)](git.vatthauer.xyz)
- [Vaultwarden](vaultwarden.vatthauer.xyz)
- [Static file hosting](files.vatthauer.xyz)
- [Nextcloud](cloud.vatthauer.xyz)
There are daily backups of the Gitea instance using Restic via B2.
## Installation on Raspberry Pi 400
### Resources
- https://nixos.wiki/wiki/NixOS_on_ARM/Raspberry_Pi_4
- https://nixos.wiki/wiki/NixOS_on_ARM#Installation
There are daily backups of the Forgejo instance using Restic via B2.
### Step by step
1. Follow the [generic installation steps](https://nixos.wiki/wiki/NixOS_on_ARM#Installation) to get NixOS up and running on the Pi.
2. Generate the default `configuration.nix` via `sudo nixos-generate-config` and do a first rebuild `sudo nixos-rebuild switch`
3. Somehow get this repository onto the machine and `cd` into it
4. We need git: `nix-shell -p git`
5. Build the flake via `sudo nixos-rebuild switch --flake .`
6. At this point you can restart
7. Login, set password, move the repository to `/home/leonv/nixos`
## Installation
https://wiki.nixos.org/wiki/Install_NixOS_on_Hetzner_Cloud