Skip to content

Commit

Permalink
fix(init): Clarify setup instructions in init.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Sep 7, 2023
1 parent 4e9b943 commit 359d08e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions init.bash
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ elif ! command -v nixos-version >/dev/null 2>&1; then
fi

echo
echo "Everything should be set up. Run one of the following commands (depending on your current system) to apply configuration. After applied, you can use \`nix-apply\` (a shell alias) going forward."
echo "Everything should be set up. Run one of the following commands (depending on your current system) to apply configuration. After applied the first time, you shouldn't need to set the \$NIX_CONFIG variable and you can use \`nix-apply\` (a shell alias) going forward."
echo

# output value of the shell alias, highlighted
grep "switch --flake" "$SCRIPT_DIR/home-manager/modules/fish.nix" | sed -e 's/\(.*\)/\x1b[38;5;166m\1\x1b[0m/' | awk '{$1:$1;print}'
echo "NIX_CONFIG=\"experimental-features = nix-command flakes\" $(grep "switch --flake" "$SCRIPT_DIR/home-manager/modules/fish.nix") | sed -e 's/\(.*\)/\x1b[38;5;166m\1\x1b[0m/' | awk '{$1:$1;print}'
echo

0 comments on commit 359d08e

Please sign in to comment.