Skip to content

Commit

Permalink
Merge pull request #8 from khaykingleb/setup-user
Browse files Browse the repository at this point in the history
Setup user
  • Loading branch information
khaykingleb authored Feb 3, 2025
2 parents fed7d05 + 7d8aca0 commit c2a440b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ asdf-setup: ## Setup asdf

conda-macos-silicon-setup: ## Setup conda for macOS Silicon
@sh users/khaykingleb/scripts/conda.sh install_conda_macos_silicon
@conda config --set auto_activate_base false
.PHONY: conda-macos-silicon-setup

##=============================================================================
Expand Down
5 changes: 5 additions & 0 deletions users/khaykingleb/programs/conda.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{ config, ... }: {
programs.zsh.initExtra = ''
# Conda initialization
__conda_setup="$(${config.home.homeDirectory}/anaconda3/bin/conda 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
Expand All @@ -11,5 +12,9 @@
fi
fi
unset __conda_setup
# Force deactivation of base environment for conda
# (otherwise, it's activated in Cursor IDE for some reason)
conda deactivate
'';
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c2a440b

Please sign in to comment.