feat(nix): migrate asdf-vm

This commit is contained in:
Stefan Imhoff
2024-07-05 19:10:23 +02:00
parent 9175c0c88e
commit b383c144c6
11 changed files with 33 additions and 16 deletions

1
nix/home/asdf/asdfrc Normal file
View File

@@ -0,0 +1 @@
legacy_version_file = yes

View File

@@ -0,0 +1,3 @@
bundler
erb_lint
neovim

View File

@@ -0,0 +1,13 @@
browser-sync
caniuse-cmd
commitizen
cz-conventional-changelog
fast-cli
json-server
jsonlint
lighthouse
neovim
pageres-cli
trash-cli
unlighthouse
yarn

View File

@@ -0,0 +1,9 @@
autopep8
black
codespell
flake8
gitlint
pipenv
proselint
neovim-remote
pyautogui

16
nix/home/asdf/default.nix Normal file
View File

@@ -0,0 +1,16 @@
{ pkgs, ... }:
{
home.file = {
".asdfrc" = { source = ./asdfrc; };
".tool-versions" = { source = ./tool-versions; };
".default-gems" = { source = ./default-gems; };
".default-npm-packages" = { source = ./default-npm-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

@@ -0,0 +1,9 @@
neovim stable
nodejs 18.17.1
ruby 3.2.2
python 3.9.9 3.10.9
rust 1.78.0
deno 1.27.0
lua 5.1
golang 1.20
direnv 2.32.2

View File

@@ -8,6 +8,7 @@ in
imports = [
./ack
./ag
./asdf
./bat
./ctags
./lazydocker