blob: 276318e6bd4914686ffddb458045fb2940f36044 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{ 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"
];
};
}
|