For next time this patch breaks, if I don't feel like fixing it, a good
approximation for this use case is sorting by modified time, e.g.:
handle /downloads/Newsletters/* {
file_server {
browse ${./caddy-browse-template.html} {
sort time desc
}
}
}
|
||
|---|---|---|
| .. | ||
| services | ||
| caddy-natural-sort.patch | ||
| configuration.nix | ||
| hardware-configuration.nix | ||
| Makefile | ||
| README.md | ||
bert
Installation
- Install NixOS minimal
ssh-keygen -N "" -f /etc/secrets/initrd/ssh_host_ed25519_key- Enable SSH server and add root SSH key
- Deploy updated config with
make - Set up Remote Disk Unlocking
- mkdir -p /etc/secrets/initrd && ssh-keygen -N "" -f /etc/secrets/initrd/ssh_host_25519_key
- 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
- Set up Grafana users (log in with default admin/admin; change creds; configure)