1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

update nix-daemon service

This commit is contained in:
Daiderd Jordan 2016-11-30 23:49:58 +01:00
parent c095042732
commit 5f7381fb7b
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -40,6 +40,9 @@ let
serviceConfig.RunAtLoad = true; serviceConfig.RunAtLoad = true;
serviceConfig.EnvironmentVariables.SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt"; serviceConfig.EnvironmentVariables.SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
serviceConfig.EnvironmentVariables.TMPDIR = "/nix/tmp"; serviceConfig.EnvironmentVariables.TMPDIR = "/nix/tmp";
serviceConfig.EnvironmentVariables.NIX_BUILD_HOOK="/nix/var/nix/profiles/default/libexec/nix/build-remote.pl";
serviceConfig.EnvironmentVariables.NIX_REMOTE_SYSTEMS="/etc/nix/machines";
serviceConfig.EnvironmentVariables.NIX_CURRENT_LOAD="/nix/tmp/current-load";
serviceConfig.SoftResourceLimits.NumberOfFiles = 4096; serviceConfig.SoftResourceLimits.NumberOfFiles = 4096;
serviceConfig.ProcessType = "Background"; serviceConfig.ProcessType = "Background";
}; };
@ -65,8 +68,9 @@ let
environment.shellAliases.l = "ls -lh"; environment.shellAliases.l = "ls -lh";
environment.shellAliases.ls = "ls -G"; environment.shellAliases.ls = "ls -G";
environment.shellAliases.g = "git log --graph --oneline"; environment.shellAliases.g = "git log --oneline --max-count 42";
environment.shellAliases.gd = "git diff --minimal -p"; environment.shellAliases.gl = "git log --graph --oneline";
environment.shellAliases.gd = "git diff --minimal --patch";
environment.etc."zprofile".text = '' environment.etc."zprofile".text = ''
# /etc/zprofile: DO NOT EDIT -- this file has been generated automatically. # /etc/zprofile: DO NOT EDIT -- this file has been generated automatically.
@ -131,7 +135,7 @@ let
if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi
export __ETC_ZSHENV_SOURCED=1 export __ETC_ZSHENV_SOURCED=1
export NIX_PATH=nixpkgs=$HOME/.nix-defexpr/nixpkgs export NIX_PATH=nixpkgs=$HOME/.nix-defexpr/nixpkgs:$NIX_PATH/.nix-defexpr/channels_root
# Set up secure multi-user builds: non-root users build through the # Set up secure multi-user builds: non-root users build through the
# Nix daemon. # Nix daemon.