Skip to content

Commit

Permalink
Add basedpytight and more small tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
arunoruto committed Dec 9, 2024
1 parent 2c378ce commit 5e5f2a6
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 30 deletions.
42 changes: 21 additions & 21 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion modules/home-manager/server/cli/btop.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
config,
pkgs,
lib,
osConfig,
Expand All @@ -11,6 +10,8 @@
enable = true;
settings = {
update_ms = 1000;
vim_keys = true;
graph_symbol = "braille";
};
}
// lib.optionals (args ? nixosConfig) {
Expand Down
19 changes: 11 additions & 8 deletions modules/home-manager/server/cli/helix/languages/python.nix
Original file line number Diff line number Diff line change
Expand Up @@ -73,22 +73,25 @@ in
}
];
language-server = {
pyright.config.python.analysis.typeCheckingMode = "basic";
pyright = {
command = lib.getExe pkgs.unstable.basedpyright;
config.python.analysis.typeCheckingMode = "basic";
};
ruff = {
command = "ruff";
command = lib.getExe pkgs.unstable.ruff;
args = [
"server"
"--preview"
# "--preview"
];
};
# pylsp.config.pylsp = {
# plugins.ruff.enabled = true;
# plugins.ruff.formatEnabled = true;
# };
};
};
extraPackages = with pkgs; [
python311Packages.debugpy
(python3.withPackages (
ps: with ps; [
debugpy
]
))
pyright
unstable.ruff
unstable.isort
Expand Down

0 comments on commit 5e5f2a6

Please sign in to comment.