48 lines
1 KiB
Nix
48 lines
1 KiB
Nix
{ config, lib, pkgs, ... }:
|
|
{
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
"intelephense"
|
|
];
|
|
|
|
home.packages = with pkgs; [
|
|
just
|
|
|
|
# LSP
|
|
# TODO: nodePackages."@ansible/ansible-language-server"
|
|
nodePackages."@tailwindcss/language-server"
|
|
nodePackages.bash-language-server
|
|
nodePackages.dockerfile-language-server-nodejs
|
|
nodePackages.eslint
|
|
nodePackages.intelephense
|
|
nodePackages.markdownlint-cli
|
|
nodePackages.prettier
|
|
nodePackages.typescript
|
|
nodePackages.typescript-language-server
|
|
nodePackages.vls
|
|
nodePackages.vscode-langservers-extracted
|
|
nodePackages.yaml-language-server
|
|
php81Packages.phpcbf
|
|
php81Packages.phpcs
|
|
php81Packages.phpstan
|
|
shellcheck
|
|
];
|
|
|
|
programs.bat.enable = true;
|
|
|
|
programs.neovim = {
|
|
enable = true;
|
|
|
|
extraConfig = ''
|
|
lua << EOF
|
|
vim.opt.number = true
|
|
vim.opt.relativenumber = true
|
|
EOF
|
|
'';
|
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
plenary-nvim
|
|
telescope-nvim
|
|
];
|
|
};
|
|
}
|