mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nix): migrate MacOS settings to nix-darwin
This commit is contained in:
5
scripts/deno.sh
Executable file
5
scripts/deno.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
asdf plugin add deno
|
||||
asdf install deno latest
|
||||
asdf global deno latest
|
||||
5
scripts/golang.sh
Executable file
5
scripts/golang.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
asdf plugin add golang
|
||||
asdf install golang latest
|
||||
asdf global golang latest
|
||||
36
scripts/init.sh
Executable file
36
scripts/init.sh
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Installing asdf plugins and versions"
|
||||
sudo -v
|
||||
|
||||
# Neovim
|
||||
echo "Installing Neovim"
|
||||
source ./neovim.sh
|
||||
|
||||
# Node.js
|
||||
echo "Installing Node.js"
|
||||
source ./nodejs.sh
|
||||
|
||||
# Deno
|
||||
echo "Installing Deno"
|
||||
source ./deno.sh
|
||||
|
||||
# Python
|
||||
echo "Installing Python"
|
||||
source ./python.sh
|
||||
|
||||
# Lua
|
||||
echo "Installing Lua"
|
||||
source ./lua.sh
|
||||
|
||||
# Rust
|
||||
echo "Installing Rust"
|
||||
source ./rust.sh
|
||||
|
||||
# Ruby
|
||||
echo "Installing Ruby"
|
||||
source ./ruby.sh
|
||||
|
||||
# Golang
|
||||
echo "Installing Go"
|
||||
source ./golang.sh
|
||||
9
scripts/lua.sh
Executable file
9
scripts/lua.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
asdf plugin add lua
|
||||
asdf install lua 5.1
|
||||
asdf install lua latest
|
||||
asdf global lua latest
|
||||
|
||||
luarocks install --server=https://luarocks.org/dev luaformatter
|
||||
sudo luarocks install --lua-version 5.1 tiktoken_core
|
||||
4
scripts/neovim.sh
Executable file
4
scripts/neovim.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
asdf plugin add neovim
|
||||
nvim --headless "+Lazy! sync" +qa
|
||||
6
scripts/nodejs.sh
Executable file
6
scripts/nodejs.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
asdf plugin add nodejs
|
||||
asdf install nodejs 16.14.2
|
||||
asdf install nodejs 18.12.1
|
||||
asdf global nodejs 18.14.2
|
||||
5
scripts/python.sh
Executable file
5
scripts/python.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
asdf plugin add python
|
||||
asdf install python latest
|
||||
asdf global python latest
|
||||
5
scripts/ruby.sh
Executable file
5
scripts/ruby.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
asdf plugin add ruby
|
||||
asdf install ruby latest
|
||||
asdf global ruby latest
|
||||
9
scripts/rust.sh
Executable file
9
scripts/rust.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
asdf plugin add rust
|
||||
asdf install rust latest
|
||||
asdf global rust latest
|
||||
|
||||
cargo install stylua
|
||||
cargo install nixpkgs-fmt
|
||||
cargo install code2prompt
|
||||
Reference in New Issue
Block a user