{ pkgs, ... }: { home.packages = let pythonEnv = ( pkgs.python312.withPackages ( ps: with ps; [ pyflakes isort numpy scipy astropy xarray netcdf4 matplotlib ] ) ); luaEnv = (pkgs.luajit.withPackages (ps: [ (ps.callPackage ./luarocks/scilua.nix { }) ])); in with pkgs; [ ## Language Environments pythonEnv luaEnv ## Linters shellcheck ruff ## Formatters nixfmt-rfc-style shfmt stylua nodePackages.prettier ## Language servers nixd basedpyright lua-language-server rust-analyzer ]; home.file.".ipython/profile_default/ipython_config.json".source = ./ipython_config.json; xdg.configFile."ruff/pyproject.toml".source = ./ruff.toml; }