From 1c29561dc7436efab794fae23b22650802e79c89 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Thu, 5 Dec 2024 21:03:05 +0100 Subject: [PATCH] add section about installing from scratch --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0f55c44..35799f5 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,10 @@ that is not like the other server management tools. > production server, this is really just a one person effort for now and there are most certainly > bugs that I didn't discover yet. +### Flake Module + Self Host Blocks is available as a flake. -To use it in your project, add the following flake input: +To use it in your existing project, add the following flake input: ```nix inputs.selfhostblocks.url = "github:ibizaman/selfhostblocks"; @@ -70,6 +72,19 @@ Then, to actually configure services, you can choose which one interests you in Head over to the [matrix channel](https://matrix.to/#/#selfhostblocks:matrix.org) for any remaining question, or just to say hi :) +### Installation From Scratch + +I do recommend for this my sibling project [Skarabox][] +which bootstraps a new server and sets up a few tools: + +- Creating a bootable ISO, installable on an USB key. +- [nixos-anywhere](https://github.com/nix-community/nixos-anywhere) to install NixOS headlessly. +- [disko](https://github.com/nix-community/disko) to format the drives using native ZFS encryption with remote unlocking through ssh. +- [sops-nix](https://github.com/Mic92/sops-nix) to handle secrets. +- [deploy-rs](https://github.com/serokell/deploy-rs) to deploy updates. + +[Skarabox]: https://github.com/ibizaman/skarabox + ## Server Management Self Host Blocks provides a standardized configuration for [some services](https://shb.skarabox.com/services.html) provided by nixpkgs.