From e6e4d53bf0fbf54d9e1413163913d3152bf1e82b Mon Sep 17 00:00:00 2001 From: Isabella Bastaja Date: Mon, 15 Jun 2026 07:06:01 +0200 Subject: wrappers: wrap helix --- wrappers/helix/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 wrappers/helix/default.nix (limited to 'wrappers/helix/default.nix') 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" + ]; + }; +} -- cgit v1.3.1