machine-config/bert
Chandler Swift 437097a71b
bert: Add chandlerswift.com cloudflare compat redir
Cloudflare Pages, the previous home of this site, strips the `.html`
suffix from filenames (no small part of the reason this site was moved!)
e.g. a recent post would be served on

https://chandlerswift.com/2024/11/12/install-lineageos-on-lemonade

and not on

https://chandlerswift.com/2024/11/12/install-lineageos-on-lemonade.html

and the latter would be redirected to the former.

To me, this seems like a perversion of file paths for no good reason,
and it seems that a not-insubstantial chunk of the internet agrees:

https://community.cloudflare.com/search?q=%22.html%22%20%23developers%3Acloudflare-pages

This has been repeatedly considered "feature not bug" (despite examples
of use cases the feature breaks), e.g.

https://github.com/cloudflare/workers-sdk/issues/1488

This PR used AI assistance (and manual verification) for Caddyfile
syntax:

https://chatgpt.com/share/67a6d4e5-a464-800c-9c4d-910faa53b2dd
2025-02-07 21:53:37 -06:00
..
services bert: Add chandlerswift.com cloudflare compat redir 2025-02-07 21:53:37 -06:00
configuration.nix bert: Rename mount so systemd doesn't escape hyphen 2025-01-14 23:31:40 -06:00
hardware-configuration.nix Start setting up bert 2024-10-31 01:06:38 -05:00
Makefile Start setting up bert 2024-10-31 01:06:38 -05:00
README.md bert: README: Remove Caddy note obsolete with 24.11 release 2024-11-30 23:41:54 -06:00

bert

Installation

  1. Install NixOS minimal
  2. ssh-keygen -N "" -f /etc/secrets/initrd/ssh_host_ed25519_key
  3. Enable SSH server and add root SSH key
  4. Deploy updated config with make
  5. Set up Remote Disk Unlocking
    1. mkdir -p /etc/secrets/initrd && ssh-keygen -N "" -f /etc/secrets/initrd/ssh_host_25519_key
  6. Deploy content:
    • websites in /srv
    • factorio world at /var/lib/factorio/saves/default.zip
    • git/forgejo in /var/lib/forgejo
    • navidrome DB/etc in /var/lib/navidrome
  7. Set up Grafana users (log in with default admin/admin; change creds; configure)