nixos/home/prog/default.nix

34 lines
749 B
Nix

{pkgs, ...}: {
xdg.configFile = {
"pypoetry/config.toml".source = ./pypoetry.toml;
"jupyter/jupyter_server_config.py".source = ./jupyter_server_config.py;
"jupyter/jupyter_nbconvert_config.py".source = ./jupyter_nbconvert_config.py;
};
home.packages = with pkgs; [
# Nix
nil
alejandra
# Shell
shfmt
shellcheck
nodePackages.prettier
# Lua
(luajit.withPackages
(ps: [(ps.callPackage ./luarocks/scilua.nix {})]))
luarocks-nix
lua-language-server
stylua
# Python
(python3.withPackages
(ps: with ps; [python-lsp-server mypy pyflakes black isort]))
# JavaScript / TypeScript
nodejs
nodePackages.typescript-language-server
nodePackages.eslint
];
}