Move modules folders
This commit is contained in:
parent
914909009c
commit
c1101e7b45
183 changed files with 327 additions and 327 deletions
26
hm/development/python.nix
Normal file
26
hm/development/python.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ...
|
||||
}:
|
||||
|
||||
let
|
||||
py = pkgs.python3;
|
||||
pyPkgs = py.pkgs;
|
||||
in
|
||||
{
|
||||
home.packages =
|
||||
[
|
||||
py
|
||||
# pyPkgs.black
|
||||
pkgs.ruff
|
||||
]
|
||||
++ lib.optionals config.programs.helix.enable (
|
||||
(builtins.attrValues { inherit (pyPkgs) python-lsp-server pyls-flake8 pyls-isort; })
|
||||
++ pyPkgs.python-lsp-server.optional-dependencies.all
|
||||
)
|
||||
++ lib.optionals config.programs.kakoune.enable (
|
||||
(builtins.attrValues { inherit (pyPkgs) python-lsp-server pyls-flake8 pyls-isort; })
|
||||
++ pyPkgs.python-lsp-server.optional-dependencies.all
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue