nixos-configuration/services/blog.nix

15 lines
298 B
Nix
Raw Normal View History

{ system, ... }:
let
blog = builtins.getFlake
2024-01-19 10:34:00 +00:00
"github:jrpotter/blog/7bd69197cfbb8fb5e48f02abf2848b0061fc4559";
in
{
services.nginx.virtualHosts."blog.jrpotter.com" = {
forceSSL = true;
enableACME = true;
locations."/" = {
root = blog.packages.${system}.app;
};
};
}