git clone https://github.com/hatch01/server-flake
cd server-flake
Maybe you will need to adapt the disks names in disko.nix
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko ./disko.nix
Put key in /mnt/persistent/key
sudo nixos-install --flake .#jonquille
pub key of cache service: onyx.ovh:jDq2MSDU6zuU7V+dgb2DH+UtCa8ztMyhc+1ZXJmPddc=
cleaning nextcloud
rm -rf /storage/nextcloud
sudo -u postgres dropdb nextcloud