Files
nixos-config/home/coding/lsp/servers.nix

23 lines
426 B
Nix
Raw Normal View History

# LSP server configuration — language servers for the development environment.
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.coding.lsp;
in {
options.coding.lsp.enable = mkEnableOption "enable LSP servers";
config = mkIf cfg.enable {
home.packages = with pkgs; [
# Nix
nixd
# General
nodePackages.typescript-language-server
tailwindcss-language-server
];
};
}