1
0
Fork 0
mirror of https://github.com/ryanccn/flake.git synced 2025-12-06 08:10:43 +01:00

rm: remove pyenv

This commit is contained in:
Ryan Cao 2023-07-28 20:26:21 +08:00
parent d4de0e26fa
commit 36575f8d5b
Signed by: ryanccn
SSH key fingerprint: SHA256:NtP/BlVhoQq4xU6BEcZeT8nIPvHntkJ3lIc2yB+F09E
5 changed files with 13 additions and 23 deletions

13
flake.lock generated
View file

@ -114,14 +114,17 @@
]
},
"locked": {
"lastModified": 1690471502,
"lastModified": 1690507298,
"narHash": "sha256-iP3MWm0eRhFiHC+dN1O60IT2gp5OHMf6m3/E06UvevI=",
"type": "git",
"url": "file:../discord-applemusic-rich-presence"
"owner": "ryanccn",
"repo": "discord-applemusic-rich-presence",
"rev": "804bbd6a9488b07384669f2d7edfa248ad499449",
"type": "github"
},
"original": {
"type": "git",
"url": "file:../discord-applemusic-rich-presence"
"owner": "ryanccn",
"repo": "discord-applemusic-rich-presence",
"type": "github"
}
},
"fenix": {

View file

@ -1,6 +1,6 @@
switch:
darwin-rebuild switch --flake . --show-trace
delete-old:
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old
sudo nix-env --profile /nix/var/nix/profiles/system --delete-generations old && nix run home-manager#home-manager -- expire-generations now
gc:
nix store gc

View file

@ -3,7 +3,7 @@ set -x SSH_AUTH_SOCK "$HOME/Library/Group Containers/2BUA8C4S2C.com.1password/t/
# Homebrew shell
set -x HOMEBREW_NO_ANALYTICS 1
set -x HOMEBREW_CASK_OPTS "--require-sha"
set -x HOMEBREW_CASK_OPTS --require-sha
set -x HOMEBREW_NO_INSECURE_REDIRECT 1
set -x HOMEBREW_NO_EMOJI 1
/opt/homebrew/bin/brew shellenv | source
@ -11,12 +11,6 @@ set -x HOMEBREW_NO_EMOJI 1
# fnm shell env
fnm env --use-on-cd | source
# pyenv
set -x PYENV_ROOT "$HOME/.pyenv"
set -x PATH "$PYENV_ROOT/bin:$PATH"
pyenv init - | source
set -x PIPX_DEFAULT_PYTHON "$HOME/.pyenv/shims/python"
# cargo
fish_add_path "$HOME/.cargo/bin"
# deno

View file

@ -11,12 +11,6 @@ eval "$(/opt/homebrew/bin/brew shellenv)"
# fnm shell env
eval "$(fnm env --use-on-cd)"
# pyenv
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv > /dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
export PIPX_DEFAULT_PYTHON="$HOME/.pyenv/shims/python"
# deno
export PATH="$HOME/.deno/bin:$PATH"

View file

@ -58,7 +58,6 @@
mkcert
nerdfix
pscale
pyenv
railway
redis
silicon