2023-12-23 21:29:18 +00:00
|
|
|
{ system, ... }:
|
|
|
|
let
|
|
|
|
blog = builtins.getFlake
|
2024-01-20 03:52:16 +00:00
|
|
|
"github:jrpotter/blog/26e385791ccb78823491413fc7d61121716d8ad8";
|
2023-12-23 21:29:18 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
services.nginx.virtualHosts."blog.jrpotter.com" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
locations."/" = {
|
|
|
|
root = blog.packages.${system}.app;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|