home-server/services/blog.nix
2026-03-10 19:14:21 -07:00

22 lines
339 B
Nix

{ ... }:
{
services.nginx = {
enable = true;
virtualHosts."ellie.town" = {
enableACME = true;
forceSSL = true;
root = "/var/www/blog";
locations."/" = {
index = "index.html";
};
};
};
security.acme = {
acceptTerms = true;
defaults.email = "contact@elliehigh.com";
};
}