mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-31 04:04:45 +00:00
SSL_CERT_FILE -> NIX_SSL_CERT_FILE
This commit is contained in:
parent
fb0a1763f5
commit
bb91a4d6c3
3 changed files with 3 additions and 3 deletions
|
@ -67,7 +67,7 @@
|
||||||
launchd.user.agents.fetch-nixpkgs-updates = {
|
launchd.user.agents.fetch-nixpkgs-updates = {
|
||||||
command = "/usr/bin/sandbox-exec -f ${config.security.sandbox.profiles.fetch-nixpkgs-updates.profile} ${pkgs.git}/bin/git -C /src/nixpkgs fetch origin master";
|
command = "/usr/bin/sandbox-exec -f ${config.security.sandbox.profiles.fetch-nixpkgs-updates.profile} ${pkgs.git}/bin/git -C /src/nixpkgs fetch origin master";
|
||||||
environment.HOME = "";
|
environment.HOME = "";
|
||||||
environment.SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
environment.NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||||
serviceConfig.KeepAlive = false;
|
serviceConfig.KeepAlive = false;
|
||||||
serviceConfig.ProcessType = "Background";
|
serviceConfig.ProcessType = "Background";
|
||||||
serviceConfig.StartInterval = 360;
|
serviceConfig.StartInterval = 360;
|
||||||
|
|
|
@ -63,7 +63,7 @@ in {
|
||||||
|
|
||||||
path = [ config.nix.package ];
|
path = [ config.nix.package ];
|
||||||
environment = {
|
environment = {
|
||||||
SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||||
};
|
};
|
||||||
|
|
||||||
serviceConfig.KeepAlive = true;
|
serviceConfig.KeepAlive = true;
|
||||||
|
|
|
@ -69,7 +69,7 @@ in
|
||||||
path = [ config.nix.package pkgs.bash pkgs.coreutils pkgs.curl pkgs.git ];
|
path = [ config.nix.package pkgs.bash pkgs.coreutils pkgs.curl pkgs.git ];
|
||||||
environment =
|
environment =
|
||||||
{ RUST_BACKTRACE = "1";
|
{ RUST_BACKTRACE = "1";
|
||||||
SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
|
||||||
};
|
};
|
||||||
|
|
||||||
serviceConfig.KeepAlive = true;
|
serviceConfig.KeepAlive = true;
|
||||||
|
|
Loading…
Add table
Reference in a new issue