aboutsummaryrefslogtreecommitdiff
path: root/nixos/profiles
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2026-11-19 07:28:14 +0100
committerMartin Fischer <martin@push-f.com>2026-11-19 07:32:21 +0100
commit8b82281c68b8127c5be6d8657542e9ee8f3b96f7 (patch)
tree0266605dadf9914729e0108f6dcb7d1ed0ca1d04 /nixos/profiles
parent36bca2dc029c0547a29b14bca6fca67b78407f85 (diff)
tweak(server): turn http2 off due to vulnerabilityHEADmaster
Diffstat (limited to 'nixos/profiles')
-rw-r--r--nixos/profiles/server/default.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/nixos/profiles/server/default.nix b/nixos/profiles/server/default.nix
index 8a17571..e2b889f 100644
--- a/nixos/profiles/server/default.nix
+++ b/nixos/profiles/server/default.nix
@@ -1,4 +1,4 @@
-{ config, pkgs, ... }:
+{ config, lib, pkgs, ... }:
{
imports = [
@@ -8,6 +8,13 @@
./prometheus-storagebox-exporter.nix
];
+ # TODO: remove after updating nginx
+ options.services.nginx.virtualHosts = lib.mkOption {
+ type = lib.types.attrsOf (lib.types.submodule {
+ config.http2 = lib.mkForce false;
+ });
+ };
+
config = {
environment.systemPackages = with pkgs; [
vim