Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zy9306 committed Sep 14, 2023
1 parent 5d59427 commit 239d30e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 2 additions & 1 deletion INSTALL
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
git clone --recurse-submodules [email protected]:zy9306/nix-home.git

./__setup_nix.sh install_nix
# install
# https://nixos.org/manual/nix/stable/installation/installation

. $HOME/.nix-profile/etc/profile.d/nix.sh

Expand Down
1 change: 1 addition & 0 deletions UNINSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://nixos.org/manual/nix/stable/installation/uninstall.html#macos
7 changes: 0 additions & 7 deletions __setup_nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

set -e

install_nix() {
echo ">>> install nix ..."
curl -L https://nixos.org/nix/install | sh
}

update_nix_channel() {
echo ">>> update nix channel ..."
Expand All @@ -22,9 +18,6 @@ install_cachix() {
}

case "$1" in
"install_nix")
install_nix
;;
"update_nix_channel")
update_nix_channel
;;
Expand Down

0 comments on commit 239d30e

Please sign in to comment.