diff options
| author | makefu <github@syntax-fehler.de> | 2016-11-11 13:44:55 +0100 |
|---|---|---|
| committer | makefu <github@syntax-fehler.de> | 2016-11-11 13:44:55 +0100 |
| commit | 595f246725fae403ac101919b96fda8731e3f18e (patch) | |
| tree | 79336e811daafbda9286a9d03b706d5a32809a90 /tv/2configs/default.nix | |
| parent | 0364af18742ed07d8b6cc3ccb1096507a91035a3 (diff) | |
| parent | d61262d0e757b94e8b1d2ccca04c6e08be74a00e (diff) | |
Merge remote-tracking branch 'prism/lassulus'
Diffstat (limited to 'tv/2configs/default.nix')
| -rw-r--r-- | tv/2configs/default.nix | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index 39d0c4f..dbf3114 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -14,7 +14,7 @@ with import <stockholm/lib>; stockholm.file = "/home/tv/stockholm"; nixpkgs.git = { url = https://github.com/NixOS/nixpkgs; - ref = "e4fb65a3627f8c17a2f92c08bf302dc30f0a8db9"; + ref = "1e1112edc57e93046f35707b874d2a4f3ff321e6"; }; } // optionalAttrs host.secure { secrets-master.file = "/home/tv/secrets/master"; @@ -112,13 +112,14 @@ with import <stockholm/lib>; }; } - (let ca-bundle = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; in { - environment.variables = { - CURL_CA_BUNDLE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; - GIT_SSL_CAINFO = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; - SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; - }; - }) + { + environment.variables = + flip genAttrs (_: "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt") [ + "CURL_CA_BUNDLE" + "GIT_SSL_CAINFO" + "SSL_CERT_FILE" + ]; + } { services.cron.enable = false; |
