fish: use home-manager's nix-your-shell integration
Alan Pearce alan@alanpearce.eu
Tue, 10 Dec 2024 19:34:35 +0100
1 files changed, 4 insertions(+), 2 deletions(-)
jump to
M user/settings/fish.nix → user/settings/fish.nix
@@ -31,9 +31,7 @@ rev = "cafaaabe63c124bf0714f89ec715cfe9ece87fa2"; }; } ]; - # TODO: pre-generate nix-your-shell interactiveShellInit = '' - ${pkgs.nix-your-shell}/bin/nix-your-shell --nom fish env | source bind \es __ghq_repository_search # don't bind ctrl-t, it does nice things on macOS/BSD set FZF_CTRL_T_COMMAND @@ -87,5 +85,9 @@ }; xdg.configFile."fish/functions" = { recursive = true; source = ./fish/functions; + }; + + programs.nix-your-shell = { + enable = true; }; }