nixos/home/prog/default.nix

35 lines
715 B
Nix
Raw Normal View History

{pkgs, ...}: {
xdg.configFile = {
"ruff/pyproject.toml".source = ./ruff.toml;
"pypoetry/config.toml".source = ./pypoetry.toml;
"ipython/profile_default/ipython_config.json".source = ./ipython_config.json;
};
home.packages = with pkgs; [
# Nix
nil
alejandra
# Shell
shfmt
shellcheck
nodePackages.prettier
2024-03-18 21:09:37 +00:00
# Lua
(luajit.withPackages
(ps: [(ps.callPackage ./luarocks/scilua.nix {})]))
luarocks-nix
2024-03-18 21:09:37 +00:00
lua-language-server
stylua
# Python
(python3.withPackages
(ps: with ps; [python-lsp-server mypy isort]))
ruff
# JavaScript / TypeScript
nodejs
nodePackages.typescript-language-server
nodePackages.eslint
];
}