1
0
Fork 0
mirror of https://git.sr.ht/~neverness/ultima synced 2025-01-09 19:23:52 +00:00
ultima/modules/home/shells/fish/misc/fish-helix.nix

30 lines
770 B
Nix

{ pkgs, ... }:
{
xdg.configFile =
let
fun = "fish/functions";
hx = pkgs.fetchFromSourcehut {
owner = "~neverness";
repo = "fish_hx";
rev = "main";
sha256 = "sha256-57EWMjsUit8la6t62SVv5ocgY2EqrGx7sF2BjGWDw5Q=";
};
count = "fish_bind_count.fish";
cmd = "fish_helix_command.fish";
binds = "fish_helix_key_bindings.fish";
mode = "fish_default_mode_prompt.fish";
in
{
"${fun}/${count}".source = "${hx}/${count}";
"${fun}/${cmd}".source = "${hx}/${cmd}";
"${fun}/${binds}".source = "${hx}/${binds}";
"${fun}/${mode}".source = "${hx}/${mode}";
};
programs.fish.plugins = with pkgs.fishPlugins; [
{
name = "tide";
src = tide.src;
}
];
}