mirror of
https://github.com/ivabus/nixos
synced 2024-11-14 04:25:07 +03:00
13 lines
515 B
Nix
13 lines
515 B
Nix
{ config, pkgs, ... }:
|
|
|
|
let
|
|
# Maybe I should rebase them to my own trusted location one day
|
|
root_ca = pkgs.fetchurl {
|
|
url = "https://gu-st.ru/content/lending/russian_trusted_root_ca_pem.crt";
|
|
hash = "sha256-k2pD/qbo5SW8wPgazZw9IbT8S5torOp5BtaYAFr8ZQQ=";
|
|
};
|
|
sub_ca = pkgs.fetchurl {
|
|
url = "https://gu-st.ru/content/lending/russian_trusted_sub_ca_pem.crt";
|
|
hash = "sha256-8K5YnzZ3TynvNkj3mEsI1C/M5vH/7rYjbXc9rrJ0TqY=";
|
|
};
|
|
in { security.pki.certificateFiles = [ "${root_ca}" "${sub_ca}" ]; }
|