2024-01-30 18:35:38 +00:00
|
|
|
{ system, ... }:
|
|
|
|
let
|
|
|
|
wiki = builtins.getFlake
|
2024-01-30 19:37:35 +00:00
|
|
|
"github:jrpotter/wiki/ea2b31616bb8fbe633db224d6d663adbebf2f972";
|
2024-01-30 18:35:38 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
services.nginx.virtualHosts."wiki.jrpotter.com" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
locations."/" = {
|
|
|
|
root = wiki.packages.${system}.app;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|