Move python and lua config into emacs directory

Change python lsp to use pyright, add lua-language-server
This commit is contained in:
Evie Litherland-Smith 2024-06-04 15:43:27 +01:00
parent db43e17270
commit 8b51847ac0
9 changed files with 8 additions and 4 deletions

View file

@ -14,8 +14,6 @@
../programs/firefox/default.nix
../programs/cava/default.nix
../programs/obs/default.nix
../programs/python/default.nix
../programs/lua/default.nix
# Services
../services/email/work.nix # TODO combine again at some point
../services/password-store/default.nix

View file

@ -3,6 +3,10 @@
fonts,
...
}: {
imports = [
./python/default.nix
./lua/default.nix
];
programs.emacs = {
# Clone emacs config from https://git.xenia.me.uk/pixelifytica/emacs.git
# git clone https://git.xenia.me.uk/pixelifytica/emacs.git ~/.emacs.d
@ -153,5 +157,9 @@
isort
stylua
nodePackages.prettier
## Language servers
pyright
lua-language-server
];
}

View file

@ -4,11 +4,9 @@
"pypoetry/config.toml".source = ./pypoetry.toml;
};
home.packages = with pkgs; [
poetry
(python3.withPackages
(ps:
with ps; [
python-lsp-server
mypy
numpy
scipy