nixos-config/modules/devtools.nix

31 lines
624 B
Nix
Raw Normal View History

2024-10-26 06:16:31 +00:00
{ config, pkgs, lib, ... }:
let
cfg = config.sconfig.devtools;
in
{
options.sconfig.devtools.enable = lib.mkEnableOption "Development Tools";
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs;
[
2024-10-26 06:27:35 +00:00
black
cargo
efm-langserver
errcheck
go
gopls
lua-language-server
nil
nodePackages.prettier
nodePackages.typescript-language-server
pyright
rust-analyzer
rustc
2024-10-26 06:16:31 +00:00
rustc.llvmPackages.lld
2024-10-26 06:27:35 +00:00
rustfmt
vscode-langservers-extracted
yaml-language-server
2024-10-26 06:16:31 +00:00
];
};
}