stockholm/krebs/2configs/security-workarounds.nix

21 lines
560 B
Nix
Raw Normal View History

2022-01-26 11:17:04 +00:00
{ config, lib, pkgs, ... }:
2017-02-25 23:02:06 +00:00
{
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; });
2017-02-25 23:02:06 +00:00
}