ark/profiles/develop/kakoune/default.nix

33 lines
794 B
Nix
Raw Normal View History

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; [
clang-tools
2019-12-15 10:03:57 +03:00
kak-lsp
kakoune-config
2019-12-15 10:03:57 +03:00
kakoune-unwrapped
nixpkgs-fmt
2019-12-15 10:03:57 +03:00
python3Packages.python-language-server
rustup
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
};
}