aboutsummaryrefslogtreecommitdiff
path: root/nix/web.nix
diff options
context:
space:
mode:
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
+ ];
}