What is Nostr?
Peter J. Jones /
npub1ssk…f6lc
2024-12-26 15:39:48
in reply to nevent1q…4cex

Peter J. Jones on Nostr: nprofile1q…vss2n I had problems with nixos-anywhere and disko-install so I wrote a ...

nprofile1qy2hwumn8ghj7un9d3shjtnddaehgu3wwp6kyqpq6mtxp68k8c3p2sj0wzhagt3kd8ywkvzlkfyt3vrx9cahzfz000vsmvss2n (nprofile…ss2n)

I had problems with nixos-anywhere and disko-install so I wrote a simple shell script that I include in an installer ISO created with nixos-generators. It uses my Yubikey to extract secrets (including the host SSH key) from SOPS, then runs disko to format the drives, copies the SSH host key to the newly formatted `/mnt/etc/ssh`, and then runs `nixos-install` with the `--flake` option. On the next boot the machine is exactly the way I want it to be.
Author Public Key
npub1sskz5mvru3rrw5r3xeu4v74e7udd40m0ag4hhlxc5xjpq9evtnrsuxf6lc