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:
parent
6b28bf6dd7
commit
9726c1c716
2 changed files with 101 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue