From 747a3a348bb5a39095f73b3ebd3a29e2164a47db Mon Sep 17 00:00:00 2001 From: oddlama Date: Fri, 5 Jan 2024 17:35:38 +0100 Subject: [PATCH] docs: make sure to remind users to export their zfs pools after fresh installs --- README.md | 2 +- nix/generate-installer-package.nix | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dff92b5..f67e543 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ but here's a quick breakdown of the what you will find where. Afterwards: -- Run `install-system` in the live environment and reboot +- Run `install-system` in the live environment, export your zfs pools and reboot - Retrieve the new host identity by using `ssh-keyscan | grep -o 'ssh-ed25519.*' > hosts//secrets/host.pub` - (If the host has guests, also retrieve their identities!) - Rekey the secrets for the new identity `nix run .#rekey` diff --git a/nix/generate-installer-package.nix b/nix/generate-installer-package.nix index 30c5efd..d302ff3 100644 --- a/nix/generate-installer-package.nix +++ b/nix/generate-installer-package.nix @@ -16,6 +16,7 @@ nixos-install --no-root-password --system ${nodeAttrs.config.system.build.toplevel} echo "Done!" + echo "DONT FORGET TO EXPORT YOUR ZFS POOL(S)!" ''; installer-package = pkgs.symlinkJoin {