Merge branch 'master' of ssh://git.giugl.io/peperunas/nixos

This commit is contained in:
Giulio De Pasquale 2025-10-06 12:01:45 +01:00
commit 716238b8c9
3 changed files with 14 additions and 11 deletions

View File

@ -11,11 +11,9 @@ let
htop
glances
tree
direnv
devenv
] ++ lib.optional (!pkgs.stdenv.isDarwin) pastebinit;
unstablePkgs = with pkgs.unstablePkgs; [ aider-chat ];
unstablePkgs = with pkgs.unstablePkgs; [ aider-chat direnv devenv ];
in
{
imports = [

View File

@ -15,18 +15,15 @@ let
py3 = actualPkgs.python3.withPackages (ps: with ps; [
python-lsp-server
python-lsp-ruff
pylsp-rope
rope
mypy
pylsp-mypy
black
ty
]);
in
{
home = {
packages = with actualPkgs; [
# black
helix
clang-tools
rust-analyzer
@ -40,6 +37,7 @@ in
golangci-lint-langserver
py3
ruff
ty
gh
gofumpt
taplo

View File

@ -6,10 +6,17 @@ language-servers = ["nixd"]
[language-server.nixd]
command = "nixd"
[language-server.pylsp.config.pylsp.plugins]
ruff = { enabled = true }
rope = { enabled = true }
mypy = { enabled = true }
[[language]]
name = "python"
language-servers = ["ty", "ruff", "pylsp"]
[language-server.ty]
command = "ty"
args = ["server"]
[language-server.ruff]
command = "ruff"
args = ["server"]
[[language]]
name = "bash"