From c3acffe2bc5c831287a5a00a39d3655b28173095 Mon Sep 17 00:00:00 2001 From: Mohammad Rafiq Date: Mon, 30 Jun 2025 03:24:20 +0800 Subject: [PATCH] docs: add instructions for installing with disko --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 742164b..b1d73f1 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,15 @@ deploy --user "rafiq" --ip "10.10.0.102" --hostname "apollo" The installation may run out of space when installing from an install ISO. In that case, use Disko to format the drives first, then create a `/mnt/tmp` directory and set it as TMPDIR for nixos-install. +```bash +sudo su +nix --extra-experimental-features "nix-command flakes" run github:nix-community/disko/master -- --mode destroy,format,mount --flake github:rrvsh/pantheon# +# Copy SSH key to /persist/home/rafiq/.ssh +mkdir /mnt/tmp +TMPDIR=/mnt/tmp nixos-install --flake github:rrvsh/pantheon# --no-root-password +reboot +``` + # Impermanence System and user state is stored under /persist. Anything not declared under