aboutsummaryrefslogtreecommitdiff
path: root/nix/web.nix
diff options
context:
space:
mode:
authorAlexander Kassouni <alex@kassouni.net>2026-10-23 14:50:17 -0700
committerAlexander Kassouni <alex@kassouni.net>2026-10-23 14:50:17 -0700
commit15ec12896112df04665ff2b4b2a945c9f62d8188 (patch)
tree525963644d867b0d5cd1b90ef145db490e0da2a8 /nix/web.nix
parentdb16d1d40b22c2502659fdb92014f41129896b61 (diff)
fmt
Diffstat (limited to 'nix/web.nix')
-rw-r--r--nix/web.nix11
1 files changed, 8 insertions, 3 deletions
diff --git a/nix/web.nix b/nix/web.nix
index 82a0dfb..3f85d84 100644
--- a/nix/web.nix
+++ b/nix/web.nix
@@ -1,6 +1,8 @@
-{inputs, pkgs, ...}: let
+{ inputs, pkgs, ... }:
+let
domain = "kassouni.net";
-in {
+in
+{
services.nginx = {
enable = true;
recommendedGzipSettings = true;
@@ -29,5 +31,8 @@ in {
defaults.email = "alex@${domain}";
};
- networking.firewall.allowedTCPPorts = [ 80 443 ];
+ networking.firewall.allowedTCPPorts = [
+ 80
+ 443
+ ];
}