2020-01-04 08:06:31 +03:00
|
|
|
{ pkgs, ... }: {
|
2020-01-31 19:49:47 +03:00
|
|
|
imports = [ ../python ];
|
|
|
|
|
2019-12-15 10:03:57 +03:00
|
|
|
environment.systemPackages = with pkgs; [
|
2020-12-06 04:12:54 +03:00
|
|
|
clang-tools
|
2019-12-15 10:03:57 +03:00
|
|
|
kak-lsp
|
2019-12-16 08:30:25 +03:00
|
|
|
kakoune-config
|
2019-12-15 10:03:57 +03:00
|
|
|
kakoune-unwrapped
|
2020-07-31 07:05:36 +03:00
|
|
|
nixpkgs-fmt
|
2019-12-15 10:03:57 +03:00
|
|
|
python3Packages.python-language-server
|
|
|
|
rustup
|
2020-07-21 03:03:08 +03:00
|
|
|
nix-linter
|
2020-07-30 08:39:24 +03:00
|
|
|
dhall
|
2020-12-28 03:38:22 +03:00
|
|
|
dhall-lsp-server
|
2019-12-15 10:03:57 +03:00
|
|
|
];
|
|
|
|
|
|
|
|
environment.etc = {
|
2020-12-28 03:38:22 +03: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 10:03:57 +03: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 08:06:31 +03:00
|
|
|
"xdg/kak/autoload/default".source =
|
|
|
|
"${pkgs.kakoune-unwrapped}/share/kak/rc";
|
2019-12-15 10:03:57 +03:00
|
|
|
};
|
|
|
|
}
|