aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2023-01-17 20:34:53 +0300
committerGitHub <noreply@github.com>2023-01-17 20:34:53 +0300
commit58b8fe093da506595118076cedbdeee4aa6d20b0 (patch)
treec9f0665461e66b57419d82bbccc4ec5c5669f147 /src/nix
parent79588ef3da9abb2b536583130653b05030e8e5a6 (diff)
Fix typos in comments / *.md (#396)
Diffstat (limited to 'src/nix')
-rwxr-xr-xsrc/nix/install.sh2
-rwxr-xr-xsrc/nix/nix-entrypoint.sh2
-rwxr-xr-xsrc/nix/utils.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/install.sh b/src/nix/install.sh
index dcddcfd..80f9ace 100755
--- a/src/nix/install.sh
+++ b/src/nix/install.sh
@@ -12,7 +12,7 @@ FLAKEURI="${FLAKEURI:-""}"
EXTRANIXCONFIG="${EXTRANIXCONFIG:-""}"
USERNAME="${USERNAME:-"${_REMOTE_USER:-"automatic"}"}"
-# Nix keys for securly verifying installer download signature per https://nixos.org/download.html#nix-verify-installation
+# Nix keys for securely verifying installer download signature per https://nixos.org/download.html#nix-verify-installation
NIX_GPG_KEYS="B541D55301270E0BCF15CA5D8170B4726D7198DE"
GPG_KEY_SERVERS="keyserver hkp://keyserver.ubuntu.com
keyserver hkps://keys.openpgp.org
diff --git a/src/nix/nix-entrypoint.sh b/src/nix/nix-entrypoint.sh
index cac3e63..0ec7188 100755
--- a/src/nix/nix-entrypoint.sh
+++ b/src/nix/nix-entrypoint.sh
@@ -15,7 +15,7 @@ if ! pidof nix-daemon > /dev/null 2>&1; then
fi
fi
if [ "${start_ok}" = "false" ]; then
- echo -e 'Failed to start nix-daemon as root. Set multiUser to false in your feature configuraiton if you would\nprefer to run the container as a non-root. You may also start the daemon manually if you have sudo\ninstalled and configured for your user by running "sudo -c nix-daemon &"'
+ echo -e 'Failed to start nix-daemon as root. Set multiUser to false in your feature configuration if you would\nprefer to run the container as a non-root. You may also start the daemon manually if you have sudo\ninstalled and configured for your user by running "sudo -c nix-daemon &"'
fi
fi
exec "$@"
diff --git a/src/nix/utils.sh b/src/nix/utils.sh
index 5753e5a..7cb55f2 100755
--- a/src/nix/utils.sh
+++ b/src/nix/utils.sh
@@ -91,7 +91,7 @@ receive_gpg_keys() {
keyring_args="--no-default-keyring --keyring $2"
fi
- # Use a temporary locaiton for gpg keys to avoid polluting image
+ # Use a temporary location for gpg keys to avoid polluting image
export GNUPGHOME="/tmp/tmp-gnupg"
mkdir -p ${GNUPGHOME}
chmod 700 ${GNUPGHOME}