nix-configs/homelab/nginx/default.nix
Aaron Honeycutt 89e48d0b9c Add new file
2024-11-22 01:43:06 +00:00

15 lines
281 B
Nix

{ lib, pkgs, config, ... }:
{
services.nginx = {
enable = true;
virtualHosts."ahoneybun.net" = {
root = "/mnt/DATA/Website/ahoneybun.net/public";
locations."/" = {
extraConfig = ''
default_type text/html;
'';
};
};
};
}