darwin-rebuild: use NIX_REMOTE=daemon even as root
This commit is contained in:
parent
b9b927dd1f
commit
d23a9c26f3
1 changed files with 4 additions and 0 deletions
|
|
@ -11,6 +11,10 @@ fi
|
|||
export PATH=@path@
|
||||
export NIX_PATH=${NIX_PATH:-@nixPath@}
|
||||
|
||||
# Use the daemon even as `root` so that resource limits, TLS and proxy
|
||||
# configuration, etc. work as expected.
|
||||
export NIX_REMOTE=${NIX_REMOTE:-daemon}
|
||||
|
||||
showSyntax() {
|
||||
echo "darwin-rebuild [--help] {edit | switch | activate | build | check | changelog}" >&2
|
||||
echo " [--list-generations] [{--profile-name | -p} name] [--rollback]" >&2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue