pub-solar-os/profiles/develop/kakoune/default.nix

34 lines
818 B
Nix
Raw Normal View History

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; [
clang-tools
2020-12-29 02:05:46 +00:00
editorconfig-core-c
2019-12-15 07:03:57 +00:00
kak-lsp
kakoune-config
2019-12-15 07:03:57 +00:00
kakoune-unwrapped
nixpkgs-fmt
2019-12-15 07:03:57 +00:00
python3Packages.python-language-server
rustup
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
};
}