global/security: add inx.moe root certs

This commit is contained in:
Infinidoge 2024-06-28 11:44:03 -04:00
parent c5c75d5a6e
commit 29b898d204
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, lib, pkgs, ... }:
with lib;
let
inherit (config.nixpkgs.hostPlatform) system;
@ -17,6 +17,16 @@ in
environmentFile = config.secrets.cloudflare;
};
};
pki.certificateFiles = [
(pkgs.fetchurl {
url = "https://files.inx.moe/ca/ca.cert.pem";
hash = "sha256-YZKiWLnO7uSHYJeNfTVxN87xMSPbJC7iTif3lMtUxpI=";
})
(pkgs.fetchurl {
url = "https://files.inx.moe/ca/intermediate.cert.pem";
hash = "sha256-NpVi8Uv2IaxCq+laQp+YL1xrJeIFeDZv5SKAWT1bzGQ=";
})
];
};
hardware = {