2023-12-23 21:29:18 +00:00
|
|
|
{ system, ... }:
|
|
|
|
let
|
|
|
|
blog = builtins.getFlake
|
2023-12-26 04:41:01 +00:00
|
|
|
"github:jrpotter/blog/e578ed4615c0faffd3f27702a028b998bbdad7ca";
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|