shobu aa7fec3b1b initial commit
added previous posts source files
2025-09-11 01:21:31 +02:00

21 lines
477 B
Nix

{inputs, ...}: {
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.nginx = {
enable = true;
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts = {
"shobu.fr" = {
enableACME = true;
forceSSL = true;
root = "${inputs.shoblog-front.packages.x86_64-linux.default}/dist";
};
};
};
security.acme = {
acceptTerms = true;
defaults.email = "lelu.awen@proton.me";
};
}