all repos — nixfiles @ 8941b7439d4302c85b7ccfb4939383f3b97c1763

System and user configuration, managed by nix and home-manager

dev/base: remove manual direnv fish integration
Alan Pearce alan@alanpearce.eu
Fri, 05 Apr 2024 01:41:33 +0200
commit

8941b7439d4302c85b7ccfb4939383f3b97c1763

parent

c745334c35561c8288c46db24cce6a2d51db7dae

1 files changed, 0 insertions(+), 8 deletions(-)

jump to
M user/settings/development/base.nixuser/settings/development/base.nix
@@ -3,11 +3,6 @@ , lib , pkgs
 , ...
 }:
-let
-  direnvHook = pkgs.runCommandLocal "direnv_hook_fish" { } ''
-    ${pkgs.direnv}/bin/direnv hook fish > $out
-  '';
-in
 {
   home.packages = with pkgs;
     [
@@ -50,9 +45,6 @@ nix-direnv = {       enable = true;
     };
   };
-  programs.fish.shellInit = ''
-    source ${direnvHook}
-  '';
   xdg.configFile."direnv/direnvrc".text = ''
     declare -A direnv_layout_dirs
     direnv_layout_dir() {