fix(nix): problem with yarn and asdf

This commit is contained in:
Stefan Imhoff
2024-07-31 19:12:34 +02:00
parent 4785953d46
commit 00a2f04ba9
3 changed files with 9 additions and 9 deletions

View File

@@ -7,6 +7,7 @@
"homebrew/services" # Manage background services using the daemon manager launchctl on macOS or systemctl on Linux. "homebrew/services" # Manage background services using the daemon manager launchctl on macOS or systemctl on Linux.
]; ];
brews = [ brews = [
"asdf" # Extendable version manager with support for Ruby, Node.js, Erlang & more
"cava" # Console-based Audio Visualizer for ALSA "cava" # Console-based Audio Visualizer for ALSA
"fileicon" # macOS CLI for managing custom icons for files and folders "fileicon" # macOS CLI for managing custom icons for files and folders
"gettext" # INFO: Dependency of Neovim "gettext" # INFO: Dependency of Neovim
@@ -17,6 +18,8 @@
"prettier" # Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML "prettier" # Code formatter for JavaScript, CSS, JSON, GraphQL, Markdown, YAML
"tree-sitter" # INFO: Dependency of Neovim "tree-sitter" # INFO: Dependency of Neovim
"urlview" # URL extractor/launcher "urlview" # URL extractor/launcher
"volta" # JavaScript toolchain manager for reproducible environments
"yarn" # JavaScript package manager
]; ];
casks = [ casks = [
"affinity-designer" # Professional graphic design software "affinity-designer" # Professional graphic design software

View File

@@ -7,8 +7,5 @@
".default-gems" = { source = ./default-gems; }; ".default-gems" = { source = ./default-gems; };
".default-npm-packages" = { source = ./default-npm-packages; }; ".default-npm-packages" = { source = ./default-npm-packages; };
".default-python-packages" = { source = ./default-python-packages; }; ".default-python-packages" = { source = ./default-python-packages; };
".asdf/lib".source = "${pkgs.asdf-vm}/share/asdf-vm/lib";
}; };
home.packages = [ pkgs.asdf-vm ];
} }

View File

@@ -83,6 +83,9 @@ in
# Personal scripts # Personal scripts
"$HOME/.dotfiles/private/bin" "$HOME/.dotfiles/private/bin"
# ASDF
"$HOME/.asdf/shims"
# Homebrew # Homebrew
"/opt/homebrew/bin" "/opt/homebrew/bin"
"/opt/homebrew/sbin" "/opt/homebrew/sbin"
@@ -101,9 +104,6 @@ in
# Volta # Volta
"$VOLTA_HOME/bin" "$VOLTA_HOME/bin"
# ASDF
"$HOME/.asdf/shims"
]; ];
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
@@ -167,14 +167,14 @@ in
vhs # Tool for generating terminal GIFs with code vhs # Tool for generating terminal GIFs with code
watchman # Watches files and takes action when they change watchman # Watches files and takes action when they change
woff2 # Webfont compression reference code woff2 # Webfont compression reference code
yarn # Fast, reliable, and secure dependency management for javascript # yarn # Fast, reliable, and secure dependency management for javascript
yt-dlp # Command-line tool to download videos from YouTube.com and other sites (youtube-dl fork) yt-dlp # Command-line tool to download videos from YouTube.com and other sites (youtube-dl fork)
zoxide # A faster way to navigate your filesystem zoxide # A faster way to navigate your filesystem
# Programming Languages # Programming Languages
lua # Powerful, fast, lightweight, embeddable scripting language lua # Powerful, fast, lightweight, embeddable scripting language
nodejs_22 # Event-driven I/O framework for the V8 JavaScript engine # nodejs_22 # Event-driven I/O framework for the V8 JavaScript engine
corepack_22 # Wrappers for npm, pnpm and Yarn via Node.js Corepack # corepack_22 # Wrappers for npm, pnpm and Yarn via Node.js Corepack
perl # Standard implementation of the Perl 5 programming language perl # Standard implementation of the Perl 5 programming language
php # HTML-embedded scripting language php # HTML-embedded scripting language
python3 # High-level dynamically-typed programming language python3 # High-level dynamically-typed programming language