blob: 6410f6288fe60c0dec2565f7dd30a8eac55bf2e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
{ pkgs, ... }:
let
config = pkgs.callPackage ./config.nix { };
in
{
wrappers.helix = {
basePackage = pkgs.helix;
# helix apparently doesn't support the XDG spec yet 🥀
# https://github.com/helix-editor/helix/pull/2135
# env.XDG_CONFIG_HOME.value = "${config}";
prependFlags = [
"--config"
"${config}/helix/config.toml"
];
pathAdd = builtins.attrValues {
inherit (pkgs)
nil
nixfmt
clang-tools
emmet-ls
;
};
};
}
|