2023-12-23 21:29:18 +00:00
|
|
|
{ system, ... }:
|
|
|
|
let
|
|
|
|
portfolio = builtins.getFlake
|
2023-12-31 02:22:12 +00:00
|
|
|
"github:jrpotter/portfolio/c13f0c7b9976cc4c68e284f9e6d1f566574d782f";
|
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;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|