bert: Implement natural sort for Caddy browse template

This can go away if upstream decides to implement/merge a fix:

https://github.com/caddyserver/caddy/issues/7226

This is mostly useful for the Newsletter downloads page:

https://stjohnscccc.org/downloads/Newsletters/

Requested-By: Mom
This commit is contained in:
Chandler Swift 2025-08-30 22:58:51 -05:00
parent 6b28bf6dd7
commit 9726c1c716
Signed by: chandlerswift
GPG key ID: A851D929D52FB93F
2 changed files with 101 additions and 0 deletions

View file

@ -14,6 +14,14 @@
./services/owntracks-recorder.nix
];
nixpkgs.overlays = [
(self: super: {
caddy = super.caddy.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or []) ++ [ ./caddy-natural-sort.patch ];
});
})
];
# Bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;