diff options
| author | Isabella Bastaja <isabella@sorre.xyz> | 2026-06-15 07:06:01 +0200 |
|---|---|---|
| committer | Isabella Bastaja <isabella@sorre.xyz> | 2026-06-15 07:26:50 +0200 |
| commit | e6e4d53bf0fbf54d9e1413163913d3152bf1e82b (patch) | |
| tree | 27a45c2a0a0e34112be352069ccd45259156aec9 /wrappers/helix/default.nix | |
| parent | 8752d056ead6b60c8d1a14829db3d8f7f3ed59c2 (diff) | |
wrappers: wrap helix
Diffstat (limited to 'wrappers/helix/default.nix')
| -rw-r--r-- | wrappers/helix/default.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/wrappers/helix/default.nix b/wrappers/helix/default.nix new file mode 100644 index 0000000..276318e --- /dev/null +++ b/wrappers/helix/default.nix @@ -0,0 +1,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" + ]; + }; +} |
