From abccab1c47e625ccedab34e43f5727bdba7f2c49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Tue, 3 Jan 2023 05:50:39 +0100 Subject: [PATCH] Remove nixos-module option --- hosts/ftp/default.nix | 7 ------- 1 file changed, 7 deletions(-) diff --git a/hosts/ftp/default.nix b/hosts/ftp/default.nix index 8f98a4b6..4c27b793 100644 --- a/hosts/ftp/default.nix +++ b/hosts/ftp/default.nix @@ -27,7 +27,6 @@ services.nginx = { enable = true; - sslDhparam = "${config.security.dhparams.params."nginx".path}"; defaultListenAddresses = [ "0.0.0.0" "[::]" ]; additionalModules = [ pkgs.nginxModules.fancyindex ]; }; @@ -62,12 +61,6 @@ }; }; - security.dhparams = { - enable = true; - stateful = true; - params."nginx".bits = 4096; - }; - services.openssh.extraConfig = '' Match User ftpupload X11Forwarding no