summaryrefslogtreecommitdiffstats
path: root/krebs/2configs
diff options
context:
space:
mode:
Diffstat (limited to 'krebs/2configs')
-rw-r--r--krebs/2configs/security-workarounds.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/krebs/2configs/security-workarounds.nix b/krebs/2configs/security-workarounds.nix
index c0d5bec9a..76ef71f7b 100644
--- a/krebs/2configs/security-workarounds.nix
+++ b/krebs/2configs/security-workarounds.nix
@@ -1,4 +1,20 @@
{ config, lib, pkgs, ... }:
{
+ nixpkgs.overlays = [
+ (self: super: {
+ exim =
+ super.exim.overrideAttrs (old: {
+ buildInputs = old.buildInputs ++ [ self.gnutls ];
+ preBuild = /* sh */ ''
+ ${old.preBuild}
+ sed -Ei '
+ s:^USE_OPENSSL=.*:# &:
+ s:^# (USE_GNUTLS)=.*:\1=yes:
+ s:^# (USE_GNUTLS_PC=.*):\1:
+ ' Local/Makefile
+ '';
+ });
+ })
+ ];
services.nginx.package = lib.mkDefault (pkgs.nginxStable.override { openssl = pkgs.libressl; });
}