fish: switch from nix-your-shell to any-nix-shell
Alan Pearce alan@alanpearce.eu
Mon, 29 Apr 2024 08:07:44 +0200
2 files changed, 2 insertions(+), 5 deletions(-)
M user/settings/fish.nix → user/settings/fish.nix
@@ -23,7 +23,9 @@ rev = "cafaaabe63c124bf0714f89ec715cfe9ece87fa2"; }; } ]; + # TODO: pre-generate nix-your-shell interactiveShellInit = '' + ${pkgs.nix-your-shell}/bin/nix-your-shell fish | source bind \es __ghq_repository_search # don't bind ctrl-t, it does nice things on macOS/BSD set FZF_CTRL_T_COMMAND
M user/settings/nix.nix → user/settings/nix.nix
@@ -10,13 +10,8 @@ imports = [ ../../pin.nix ]; nixpkgs.config = import ../config.nix; - # move to system config - programs.fish.interactiveShellInit = '' - any-nix-shell fish --info-right | source - ''; home.packages = with pkgs; [ - any-nix-shell nil nix-prefetch-scripts nix-init