16 lines
281 B
Nix
16 lines
281 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
services.nginx.virtualHosts."cv.zackmyers.io" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations."/" = {
|
|
root = "${inputs.resume.packages.${pkgs.system}.default}";
|
|
};
|
|
extraConfig = ''
|
|
index resume.pdf;
|
|
'';
|
|
};
|
|
}
|