Better organized development configurations
This commit is contained in:
parent
f5ed37a7fb
commit
f93a17a74f
21 changed files with 70 additions and 52 deletions
1
hm_modules/development/cpp.nix
Normal file
1
hm_modules/development/cpp.nix
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ pkgs, config, lib, ... }: { home.packages = with pkgs; lib.optionals config.programs.helix.enable [ clang-tools cmake-language-server ]; }
|
||||
7
hm_modules/development/data.nix
Normal file
7
hm_modules/development/data.nix
Normal 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
|
||||
];
|
||||
}
|
||||
9
hm_modules/development/docker.nix
Normal file
9
hm_modules/development/docker.nix
Normal 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
|
||||
];
|
||||
}
|
||||
|
||||
8
hm_modules/development/go.nix
Normal file
8
hm_modules/development/go.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }: {
|
||||
programs.go = {
|
||||
enable = true;
|
||||
goPath = ".go";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [ gopls ];
|
||||
}
|
||||
2
hm_modules/development/javascript.nix
Normal file
2
hm_modules/development/javascript.nix
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{ pkgs, lib, config, ... }: { home.packages = with pkgs; lib.optionals config.programs.helix.enable [ nodePackages.typescript-language-server ]; }
|
||||
|
||||
7
hm_modules/development/kubernetes.nix
Normal file
7
hm_modules/development/kubernetes.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
kubectl
|
||||
kubernetes-helm
|
||||
lens
|
||||
];
|
||||
}
|
||||
8
hm_modules/development/latex.nix
Normal file
8
hm_modules/development/latex.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
bibtool
|
||||
# tex2nix
|
||||
texlab
|
||||
texlive.combined.scheme-medium
|
||||
];
|
||||
}
|
||||
10
hm_modules/development/nix.nix
Normal file
10
hm_modules/development/nix.nix
Normal 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
|
||||
];
|
||||
}
|
||||
7
hm_modules/development/pycharm.nix
Normal file
7
hm_modules/development/pycharm.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
jetbrains.pycharm-professional
|
||||
python3
|
||||
# pypy3
|
||||
];
|
||||
}
|
||||
9
hm_modules/development/python.nix
Normal file
9
hm_modules/development/python.nix
Normal 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
|
||||
]);
|
||||
}
|
||||
3
hm_modules/development/rust.nix
Normal file
3
hm_modules/development/rust.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
home.packages = with pkgs; [ bacon cargo clippy rustfmt ] ++ (lib.optionals config.programs.helix.enable [ rust-analyzer ]);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue