Bunch of stuff to get this ready for a two user system

This commit is contained in:
Jimbo 2025-02-28 13:11:45 -05:00
parent 2144d9ef61
commit 7eb3b1a0fa
119 changed files with 214 additions and 214 deletions

View file

@ -0,0 +1,24 @@
{ config, lib, ... }:
{
imports = [
./rtmp
./virtualhosts
];
config = lib.mkIf config.system.server.enable {
services.nginx = {
enable = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;
};
environment.persistence."/persist".directories = [ "/var/www" ];
networking.firewall.allowedTCPPorts = [
80
443
];
};
}