mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nix): move Nix configuration to root level
This commit is contained in:
1
home/asdf/asdfrc
Normal file
1
home/asdf/asdfrc
Normal file
@@ -0,0 +1 @@
|
||||
legacy_version_file = yes
|
||||
3
home/asdf/default-gems
Normal file
3
home/asdf/default-gems
Normal file
@@ -0,0 +1,3 @@
|
||||
bundler
|
||||
erb_lint
|
||||
neovim
|
||||
13
home/asdf/default-npm-packages
Normal file
13
home/asdf/default-npm-packages
Normal 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
|
||||
9
home/asdf/default-python-packages
Normal file
9
home/asdf/default-python-packages
Normal file
@@ -0,0 +1,9 @@
|
||||
autopep8
|
||||
black
|
||||
codespell
|
||||
flake8
|
||||
gitlint
|
||||
pipenv
|
||||
proselint
|
||||
neovim-remote
|
||||
pyautogui
|
||||
14
home/asdf/default.nix
Normal file
14
home/asdf/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ 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 ];
|
||||
}
|
||||
9
home/asdf/tool-versions
Normal file
9
home/asdf/tool-versions
Normal 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
|
||||
Reference in New Issue
Block a user