fish: configure tide via home-manager activation
1 file changed, 23 insertions(+), 1 deletion(-)
changed files
M user/settings/fish.nix → user/settings/fish.nix
@@ -30,7 +30,15 @@ fifc autopair colored-man-pages fishbang - tide + (tide.overrideAttrs { + version = "7.0.2"; + src = pkgs.fetchFromGitHub { + owner = "plttn"; + repo = "tide"; + hash = "sha256-e51L0JNNsGc3E7gY6udstFaDWg1V1OVWl9lMHFC+2MU="; + rev = "a419157ff1ca4833dba74c27914cd8bb2a3c064b"; + }; + }) { name = "ghq"; src = pkgs.fetchFromGitHub {@@ -90,4 +98,18 @@ programs.vivid = { enable = !pkgs.stdenv.isDarwin; enableFishIntegration = true; }; + + home.activation.tide-configure = '' + run ${lib.getExe config.programs.fish.package} -c ' + tide configure \ + --auto \ + --style=Lean \ + --prompt_colors="16 colors" \ + --show_time="24-hour format" \ + --lean_prompt_height="Two lines" \ + --prompt_connection=Disconnected \ + --prompt_spacing=Compact \ + --icons="Few icons" + ' + ''; }