diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-09-03 15:43:22 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-09-03 15:43:22 +0100 |
commit | a4b9f7e0b12332a4a6282bb0111f7c8b8d445c13 (patch) | |
tree | 8d1f02f9c59dda2e1df47d47342b7916e65eca68 /nix-conf/home/includes | |
parent | 5c9dab00be507be5bec6a154d2815ad93cde84b1 (diff) | |
download | dotfiles-a4b9f7e0b12332a4a6282bb0111f7c8b8d445c13.tar.gz |
Move otm related config into otm.nix
Diffstat (limited to 'nix-conf/home/includes')
-rw-r--r-- | nix-conf/home/includes/darwin.nix | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/nix-conf/home/includes/darwin.nix b/nix-conf/home/includes/darwin.nix index ea70269..340243d 100644 --- a/nix-conf/home/includes/darwin.nix +++ b/nix-conf/home/includes/darwin.nix @@ -21,48 +21,6 @@ let --prefix PYTHONPATH : $out/${pkgs.mopidyPackages.python.sitePackages} ''; }; - - zscaler-cert = '' ------BEGIN CERTIFICATE----- -MIIE0zCCA7ugAwIBAgIJANu+mC2Jt3uTMA0GCSqGSIb3DQEBCwUAMIGhMQswCQYD -VQQGEwJVUzETMBEGA1UECBMKQ2FsaWZvcm5pYTERMA8GA1UEBxMIU2FuIEpvc2Ux -FTATBgNVBAoTDFpzY2FsZXIgSW5jLjEVMBMGA1UECxMMWnNjYWxlciBJbmMuMRgw -FgYDVQQDEw9ac2NhbGVyIFJvb3QgQ0ExIjAgBgkqhkiG9w0BCQEWE3N1cHBvcnRA -enNjYWxlci5jb20wHhcNMTQxMjE5MDAyNzU1WhcNNDIwNTA2MDAyNzU1WjCBoTEL -MAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExETAPBgNVBAcTCFNhbiBK -b3NlMRUwEwYDVQQKEwxac2NhbGVyIEluYy4xFTATBgNVBAsTDFpzY2FsZXIgSW5j -LjEYMBYGA1UEAxMPWnNjYWxlciBSb290IENBMSIwIA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f4z0hRCrLN2 -xFNjavxrHmsH8jPHVvgc1VD0Opja0l/BRVauTrUaoW6tE+wFG5rEcPGS80jjHK4S -pB5iDj2mUZH1T8lzYtuZy0ZPirxmtsk3135+CKNa2OCAhhFjE0xd ------END CERTIFICATE----- - ''; - zscaler-jdk = pkgs.jdk.overrideAttrs (old: { - # passthru.home must be set to ensure JAVA_HOME is set correctly - # See https://github.com/nix-community/home-manager/blob/086f619dd991a4d355c07837448244029fc2d9ab/modules/programs/java.nix#L39-L41 - # and https://github.com/NixOS/nixpkgs/blob/4877ea239f4d02410c3516101faf35a81af0c30e/pkgs/development/compilers/openjdk/jre.nix#L32 - passthru.home = "${zscaler-jdk}"; # make sure JAVA_HOME is set - installPhase = old.installPhase + '' - $out/bin/keytool -import -noprompt -trustcacerts -alias zscalerrootca -keystore $out/lib/security/cacerts <<< "${zscaler-cert}" - ''; - }); - - zscaler-lein = pkgs.leiningen.override { jdk = zscaler-jdk; }; in { imports = [ @@ -98,8 +56,6 @@ in sqls #vimpc wget - - zscaler-lein ]; nix.settings = { @@ -107,10 +63,5 @@ in keep-outputs = true; keep-derivations = true; }; - - programs.java = { - enable = true; - package = zscaler-jdk; - }; } |