From 3d36eb305e8fd7b35cc41886d7bcea51f3b98795 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Sun, 22 Feb 2026 00:26:21 +0100 Subject: [PATCH] docs: update readme --- README.md | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 96205ae..5419e5b 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,36 @@ # NixOS flake -## Set up virtual machine ([`disko`](https://github.com/nix-community/disko/blob/master/docs/interactive-vm.md)) +## hosts -1. Build the virtual machine +### NixOS + +``` +nixos-rebuild switch --flake .# +``` + +### home manager + +``` +home-manager switch --flake .#work +``` + +### virtual machines ``` nix build -L '.#nixosConfigurations.vm.config.system.build.vmWithDisko' -``` - -2. Run the virtual machine - -``` ./result/bin/disko-vm ``` + +## deploy using colmena + +``` +colmena apply +``` + + +## SD installer images + +``` +nix build .#images.sd-image-orange-pi-aarch64 +nix build .#images.sd-image-raspberry-pi-aarch64 +```