nixos-configuration/services/portfolio.nix

16 lines
352 B
Nix
Raw Normal View History

{ system, ... }:
let
portfolio = builtins.getFlake
2024-01-31 13:11:29 +00:00
"github:jrpotter/portfolio/357999e784102ba11c52cf1fc9edbfaa8a00912d";
in
{
services.nginx.virtualHosts."www.jrpotter.com" = {
forceSSL = true;
enableACME = true;
serverAliases = [ "jrpotter.com" ];
locations."/" = {
root = portfolio.packages.${system}.app;
};
};
}