chore: bump `wiki` and add clean URLs.

main
Joshua Potter 2024-01-30 17:11:21 -07:00
parent 14433dc50d
commit d85f90ec7e
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{ system, ... }: { system, ... }:
let let
wiki = builtins.getFlake wiki = builtins.getFlake
"github:jrpotter/wiki/ea2b31616bb8fbe633db224d6d663adbebf2f972"; "github:jrpotter/wiki/ea476410252407a861c1205366675e87137525f6";
in in
{ {
services.nginx.virtualHosts."wiki.jrpotter.com" = { services.nginx.virtualHosts."wiki.jrpotter.com" = {
@ -9,6 +9,7 @@ in
enableACME = true; enableACME = true;
locations."/" = { locations."/" = {
root = wiki.packages.${system}.app; root = wiki.packages.${system}.app;
tryFiles = "$uri $uri.html $uri/ =404";
}; };
}; };
} }