2023-12-23 21:29:18 +00:00
|
|
|
{ system, ... }:
|
|
|
|
let
|
|
|
|
portfolio = builtins.getFlake
|
2024-03-24 13:17:48 +00:00
|
|
|
"github:jrpotter/portfolio/eca5e764f26faaa64f6966dbf3970b86eaaf2195";
|
2023-12-23 21:29:18 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
services.nginx.virtualHosts."www.jrpotter.com" = {
|
|
|
|
forceSSL = true;
|
|
|
|
enableACME = true;
|
|
|
|
serverAliases = [ "jrpotter.com" ];
|
|
|
|
locations."/" = {
|
|
|
|
root = portfolio.packages.${system}.app;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|