2020-01-04 05:06:31 +00:00
|
|
|
{ pkgs, ... }: {
|
2020-01-31 16:49:47 +00:00
|
|
|
imports = [ ../python ];
|
|
|
|
|
2019-12-15 07:03:57 +00:00
|
|
|
environment.systemPackages = with pkgs; [
|
2020-12-06 01:12:54 +00:00
|
|
|
clang-tools
|
2019-12-15 07:03:57 +00:00
|
|
|
kak-lsp
|
2019-12-16 05:30:25 +00:00
|
|
|
kakoune-config
|
2019-12-15 07:03:57 +00:00
|
|
|
kakoune-unwrapped
|
2020-07-31 04:05:36 +00:00
|
|
|
nixpkgs-fmt
|
2019-12-15 07:03:57 +00:00
|
|
|
python3Packages.python-language-server
|
|
|
|
rustup
|
2020-07-21 00:03:08 +00:00
|
|
|
nix-linter
|
2020-07-30 05:39:24 +00:00
|
|
|
dhall
|
2020-12-28 00:38:22 +00:00
|
|
|
dhall-lsp-server
|
2019-12-15 07:03:57 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
environment.etc = {
|
2020-12-28 00:38:22 +00:00
|
|
|
"xdg/kak-lsp/kak-lsp.toml".text = ''
|
|
|
|
${builtins.readFile "${pkgs.kak-lsp.src}/kak-lsp.toml"}
|
|
|
|
[language.dhall]
|
|
|
|
filetypes = ["dhall"]
|
|
|
|
roots = [".git"]
|
|
|
|
command = "dhall-lsp-server"
|
|
|
|
'';
|
2019-12-15 07:03:57 +00:00
|
|
|
"xdg/kak/kakrc".source = ./kakrc;
|
|
|
|
"xdg/kak/autoload/plugins".source = ./plugins;
|
|
|
|
"xdg/kak/autoload/lint".source = ./lint;
|
|
|
|
"xdg/kak/autoload/lsp".source = ./lsp;
|
2020-01-04 05:06:31 +00:00
|
|
|
"xdg/kak/autoload/default".source =
|
|
|
|
"${pkgs.kakoune-unwrapped}/share/kak/rc";
|
2019-12-15 07:03:57 +00:00
|
|
|
};
|
|
|
|
}
|