feat(nix): move Nix configuration to root level

This commit is contained in:
Stefan Imhoff
2024-07-31 12:46:55 +02:00
parent ec67a98313
commit c5be8e73b6
224 changed files with 62 additions and 67 deletions

1
home/asdf/asdfrc Normal file
View File

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

3
home/asdf/default-gems Normal file
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

14
home/asdf/default.nix Normal file
View 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
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