Better organized development configurations

This commit is contained in:
Filippo Berto 2022-12-23 21:21:46 +01:00
parent f5ed37a7fb
commit f93a17a74f
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
21 changed files with 70 additions and 52 deletions

View file

@ -0,0 +1 @@
{ pkgs, config, lib, ... }: { home.packages = with pkgs; lib.optionals config.programs.helix.enable [ clang-tools cmake-language-server ]; }

View file

@ -0,0 +1,7 @@
{ config, pkgs, lib, ... }: {
home.packages = with pkgs; lib.optionals config.programs.helix.enable [
nodePackages.vscode-langservers-extracted # CSS, HTML, JSON, SCSS
yaml-language-server # YAML
taplo-cli # TOML
];
}

View file

@ -0,0 +1,9 @@
{ pkgs, config, lib, ... }: {
home.packages = with pkgs; [
docker-compose
docker-machine
] ++ lib.optionals config.programs.helix.enable [
nodePackages.dockerfile-language-server-nodejs
];
}

View file

@ -0,0 +1,8 @@
{ pkgs, ... }: {
programs.go = {
enable = true;
goPath = ".go";
};
home.packages = with pkgs; [ gopls ];
}

View file

@ -0,0 +1,2 @@
{ pkgs, lib, config, ... }: { home.packages = with pkgs; lib.optionals config.programs.helix.enable [ nodePackages.typescript-language-server ]; }

View file

@ -0,0 +1,7 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
kubectl
kubernetes-helm
lens
];
}

View file

@ -0,0 +1,8 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
bibtool
# tex2nix
texlab
texlive.combined.scheme-medium
];
}

View file

@ -0,0 +1,10 @@
{ pkgs, config, lib, ... }: {
home.packages = with pkgs; [
nixpkgs-fmt
nix-prefetch-scripts
nix-review
nix-tree
] ++ lib.optionals config.programs.helix.enable [
nil
];
}

View file

@ -0,0 +1,7 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
jetbrains.pycharm-professional
python3
# pypy3
];
}

View file

@ -0,0 +1,9 @@
{ pkgs, ... }: {
home.packages = with pkgs;
[ black ] ++ (with pkgs.python3Packages; [
python-lsp-server
# pyls-black # not updated to the new pylsp
pyls-flake8
pyls-isort
]);
}

View file

@ -0,0 +1,3 @@
{ pkgs, lib, config, ... }: {
home.packages = with pkgs; [ bacon cargo clippy rustfmt ] ++ (lib.optionals config.programs.helix.enable [ rust-analyzer ]);
}