{ 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" ]; }; }