-
-
Notifications
You must be signed in to change notification settings - Fork 483
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
etc: add more known hashes for DeterminateSystems nix-installer
- Loading branch information
Showing
5 changed files
with
123 additions
and
0 deletions.
There are no files selected for viewing
42 changes: 42 additions & 0 deletions
42
doc/known-files/204d2a960b3ab80e51748d3db0b63d940347ba71119ae6f14cccfec35da56cce
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
# Nix | ||
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then | ||
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' | ||
fi | ||
# End Nix | ||
|
||
|
||
# /etc/bashrc: DO NOT EDIT -- this file has been generated automatically. | ||
# This file is read for interactive shells. | ||
|
||
[ -r "/etc/bashrc_$TERM_PROGRAM" ] && . "/etc/bashrc_$TERM_PROGRAM" | ||
|
||
# Only execute this file once per shell. | ||
if [ -n "$__ETC_BASHRC_SOURCED" -o -n "$NOSYSBASHRC" ]; then return; fi | ||
__ETC_BASHRC_SOURCED=1 | ||
|
||
# Don't execute this file when running in a pure nix-shell. | ||
if [ "$IN_NIX_SHELL" = "pure" ]; then return; fi | ||
|
||
if [ -z "$__NIX_DARWIN_SET_ENVIRONMENT_DONE" ]; then | ||
. /nix/store/aqx44dhrnk2kdk5mvpxix8xaqsr9f3lh-set-environment | ||
fi | ||
|
||
# Return early if not running interactively, but after basic nix setup. | ||
[[ $- != *i* ]] && return | ||
|
||
# Make bash check its window size after a process completes | ||
shopt -s checkwinsize | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
# Read system-wide modifications. | ||
if test -f /etc/bash.local; then | ||
source /etc/bash.local | ||
fi |
28 changes: 28 additions & 0 deletions
28
doc/known-files/383a89c1f79c3bcfd2ff39a2b73b5103d0303161b3be9eac88fce83e0789f0b7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
|
||
# Set up Nix only on SSH connections | ||
# See: https://github.com/DeterminateSystems/nix-installer/pull/714 | ||
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ] && [ -n "${SSH_CONNECTION}" ] && [ "${SHLVL}" -eq 1 ]; then | ||
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' | ||
fi | ||
# End Nix | ||
# /etc/zshenv: DO NOT EDIT -- this file has been generated automatically. | ||
# This file is read for all shells. | ||
|
||
# Only execute this file once per shell. | ||
# But don't clobber the environment of interactive non-login children! | ||
if [ -n "$__ETC_ZSHENV_SOURCED" ]; then return; fi | ||
export __ETC_ZSHENV_SOURCED=1 | ||
|
||
# Don't execute this file when running in a pure nix-shell. | ||
if test -n "$IN_NIX_SHELL"; then return; fi | ||
|
||
if [ -z "$__NIX_DARWIN_SET_ENVIRONMENT_DONE" ]; then | ||
. /nix/store/aqx44dhrnk2kdk5mvpxix8xaqsr9f3lh-set-environment | ||
fi | ||
|
||
|
||
|
||
# Read system-wide modifications. | ||
if test -f /etc/zshenv.local; then | ||
source /etc/zshenv.local | ||
fi |
47 changes: 47 additions & 0 deletions
47
doc/known-files/b9902f2020c636aeda956a74b5ae11882d53e206d1aa50b3abe591a8144fa710
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
|
||
# Nix | ||
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then | ||
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' | ||
fi | ||
# End Nix | ||
|
||
|
||
# /etc/zshrc: DO NOT EDIT -- this file has been generated automatically. | ||
# This file is read for interactive shells. | ||
|
||
# Only execute this file once per shell. | ||
if [ -n "$__ETC_ZSHRC_SOURCED" -o -n "$NOSYSZSHRC" ]; then return; fi | ||
__ETC_ZSHRC_SOURCED=1 | ||
|
||
# history defaults | ||
SAVEHIST=2000 | ||
HISTSIZE=2000 | ||
HISTFILE=$HOME/.zsh_history | ||
|
||
setopt HIST_IGNORE_DUPS SHARE_HISTORY HIST_FCNTL_LOCK | ||
|
||
bindkey -e | ||
|
||
|
||
|
||
|
||
# Tell zsh how to find installed completions | ||
for p in ${(z)NIX_PROFILES}; do | ||
fpath+=($p/share/zsh/site-functions $p/share/zsh/$ZSH_VERSION/functions $p/share/zsh/vendor-completions) | ||
done | ||
|
||
autoload -U promptinit && promptinit && prompt walters && setopt prompt_sp | ||
|
||
autoload -U compinit && compinit | ||
autoload -U bashcompinit && bashcompinit | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
# Read system-wide modifications. | ||
if test -f /etc/zshrc.local; then | ||
source /etc/zshrc.local | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters