add ssl certs for darwin even though it didn't work

This commit is contained in:
Noah Masur 2022-09-21 16:25:16 -04:00
parent 6281e32275
commit fca998e14c
3 changed files with 32 additions and 0 deletions

View File

@ -6,6 +6,7 @@
./hammerspoon.nix ./hammerspoon.nix
./homebrew.nix ./homebrew.nix
./nixpkgs.nix ./nixpkgs.nix
./ssl.nix
./system.nix ./system.nix
./tmux.nix ./tmux.nix
./user.nix ./user.nix

11
modules/darwin/ssl.nix Normal file
View File

@ -0,0 +1,11 @@
{ config, pkgs, ... }: {
# security.pki.certificateFiles = [
# "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"
# (builtins.toString ../work/nixos-org-certs.crt)
# ];
security.pki.certificates =
[ (builtins.readFile ../work/nixos-org-certs.crt) ];
}

View File

@ -0,0 +1,20 @@
T2 Palo Alto CA
-----BEGIN CERTIFICATE-----
MIIDIjCCAgqgAwIBAgIJAOE7K8F61qxbMA0GCSqGSIb3DQEBCwUAMEExCzAJBgNV
BAYTAlVTMQswCQYDVQQIEwJOWTELMAkGA1UECxMCSVQxGDAWBgNVBAMTD1QyIFBh
bG8gQWx0byBDQTAeFw0xNTA3MTUyMzUzNDJaFw0yNTA3MTIyMzUzNDJaMEExCzAJ
BgNVBAYTAlVTMQswCQYDVQQIEwJOWTELMAkGA1UECxMCSVQxGDAWBgNVBAMTD1Qy
IFBhbG8gQWx0byBDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANBa
nVZxAhk+spmp8JBzwtgPS+2oQ/Kpv7BRWn7Rj52oAL++a4DH2zRLb3f4mMyPpgEX
nNrvZSkonxJToEMhAed5eIKNOjcwDT8kLatfmE/LHD4xNeK0FN0p0OlTJkwLI5KZ
rne/YKqkYscYfjxyugYPb3ukjYfxeGNfeF9HGKTPAcL+fj0/fgkffJJPZ+d9+C2Z
YXXI36DoXEjHUPxOz/hKL5ohM4m86OHt6qvZaG/b43raI99ckRFTwmoF+AfdIgVa
3cuaxhnGyv+bC41LTxd1Azzys0txfx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