Downgrade OpenSSL used by nginx to 1.1 until there is a security patch for 3.0

This commit is contained in:
Paul-Henri Froidmont 2022-11-01 15:52:46 +01:00
parent c0ad9f5359
commit 2487bc13cd
Signed by: phfroidmont
GPG key ID: BE948AFD7E7873BE

View file

@ -20,6 +20,10 @@
];
};
};
openssl1_1Overlay = final: prev: {
nginxStable = prev.nginxStable.override { openssl = pkgs.openssl_1_1; };
};
in
{
devShells.x86_64-linux.default = pkgs.mkShell {
@ -50,6 +54,7 @@
./profiles/db.nix
(
{
nixpkgs.overlays = [ openssl1_1Overlay ];
sops.defaultSopsFile = ./secrets.enc.yml;
networking.hostName = "db1";
networking.domain = "banditlair.com";
@ -68,6 +73,7 @@
./profiles/backend.nix
(
{
nixpkgs.overlays = [ openssl1_1Overlay ];
sops.defaultSopsFile = ./secrets.enc.yml;
networking.hostName = "backend1";
networking.domain = "banditlair.com";
@ -88,6 +94,7 @@
./profiles/storage.nix
(
{
nixpkgs.overlays = [ openssl1_1Overlay ];
sops.defaultSopsFile = ./secrets.enc.yml;
networking.hostName = "storage1";
networking.domain = "banditlair.com";