Totally not rewriting because I rm -r'd the repo months after not pushing it to github aha
Inspired by EmergenMind's repo
Names are just some random characters in my Anilist. May change depending on how I feel.
My main laptop (IdeaPad Gaming 3 15ACH6)
My offsite Hetzner dedicated server, hosts a few containers but biggest service is minecraft. Looking at options to decomission, not sure yet.
I did't name this one but I don't think I'll even use the name often so eh
My future container host, looking to move most of my services from Futaba over to this one.
- Install any linux distro with kexec/nixos-anywhere support (Ubuntu, debian, etc)
- Make temporary ramfs (
temp=$(mktemp -d)) - Make new OpenSSH Host Key for secrets decryption (In ramfs!) at "$temp/etc/ssh/ssh_host_ed25519_key" (
mkdir -p $temp/etc/ssh/; ssh-keygen -f "$temp/etc/ssh/ssh_host_ed25519_key") - Get age key from host key with ssh-to-age for sops-nix (
'cat "$temp/etc/ssh/ssh_host_ed25519_key.pub" | ssh-to-age') (it might be better to enter shell with ssh-to-age first, env vars don't carry over) - Add age key to .sops.yaml
- Add new creation rules for new host
- Add secrets for new host
- Tailscale
- User password (mkpasswd)
- Install on host with nixos-anywhere with option --extra-files "$temp"
- Add megumi
- Add unstable pkgs
- Add formatting and pre-checks
- Add triserden
- Test deployment with a VM
- Add home-manager entru point
- Finish hostSpec