nix-config/modules/website/default.nix
2025-02-06 18:58:53 +01:00

20 lines
381 B
Nix

{ lib, config, ... }: let
inherit (lib) mkIf;
inherit (config) conf;
in mkIf conf.website.enable {
services.nginx.virtualHosts = {
"twoneis.site" = {
serverName = "twoneis.site";
forceSSL = false;
locations = {
"/" = {
return = "200 \"Faggot\"";
};
};
};
};
networking.firewall.allowedTCPPorts = [
80
];
}