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

@ -9,7 +9,6 @@
mmv-go
neofetch
nixos-option
nix-tree
pv
ripgrep
unrar

View file

@ -1 +0,0 @@
{ pkgs, ... }: { home.packages = with pkgs; [ clang-tools ]; }

View file

@ -1,6 +0,0 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
nodePackages.vscode-langservers-extracted
yaml-language-server
];
}

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,2 @@
{ pkgs, lib, config, ... }: { home.packages = with pkgs; lib.optionals config.programs.helix.enable [ nodePackages.typescript-language-server ]; }

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,3 @@
{ pkgs, lib, config, ... }: {
home.packages = with pkgs; [ bacon cargo clippy rustfmt ] ++ (lib.optionals config.programs.helix.enable [ rust-analyzer ]);
}

View file

@ -1,2 +0,0 @@
{ pkgs, ... }: { home.packages = with pkgs; [ flow ]; }

View file

@ -1,3 +0,0 @@
{ pkgs, ... }: {
home.packages = with pkgs; [ bacon cargo clippy rust-analyzer rustfmt ];
}