global/security: add inx.moe root certs
This commit is contained in:
parent
c5c75d5a6e
commit
29b898d204
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ config, lib, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
with lib;
|
with lib;
|
||||||
let
|
let
|
||||||
inherit (config.nixpkgs.hostPlatform) system;
|
inherit (config.nixpkgs.hostPlatform) system;
|
||||||
|
@ -17,6 +17,16 @@ in
|
||||||
environmentFile = config.secrets.cloudflare;
|
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 = {
|
hardware = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue