From 1a0615304da67e5e4c9e573b7dee715c26d6a634 Mon Sep 17 00:00:00 2001 From: osbm Date: Thu, 23 Oct 2025 10:09:37 +0300 Subject: [PATCH] add apollo recipe --- justfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/justfile b/justfile index f7e9f68..09deb4a 100644 --- a/justfile +++ b/justfile @@ -65,3 +65,11 @@ flash-sd-image-harmonica: nom build -L .#nixosConfigurations.harmonica-sd.config.system.build.sdImage sudo dd if=result/sd-image/nixos-image-sd-card-25.05.20250224.0196c01-aarch64-linux.img of=/dev/sda bs=4M status=progress conv=fsync +setup-apollo-nixos: + nano /tmp/secret.key + sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode destroy,format,mount --flake github:osbm/flake#apollo + + sudo mkdir -p /mnt/etc/ssh + sudo ssh-keygen -t ed25519 -N "" -f /mnt/etc/ssh/initrd + + sudo nixos-install --flake github:osbm/flake#apollo --root /mnt --no-root-passwd