From aea57993a89bfc2a66c0434e0f4383ebf164e2a3 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Thu, 1 Jan 2026 20:20:40 +0100 Subject: [PATCH] direnv: make Fish integration read-write As https://github.com/NixOS/nixpkgs/pull/475992 is merged, we can make this option read-write. Depends-on: https://github.com/NixOS/nixpkgs/pull/475992 Signed-off-by: Sefa Eyeoglu --- modules/programs/direnv.nix | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/modules/programs/direnv.nix b/modules/programs/direnv.nix index 73d9ad16..fdcf048c 100644 --- a/modules/programs/direnv.nix +++ b/modules/programs/direnv.nix @@ -75,25 +75,7 @@ in enableBashIntegration = lib.hm.shell.mkBashIntegrationOption { inherit config; }; - enableFishIntegration = - lib.hm.shell.mkFishIntegrationOption { - inherit config; - extraDescription = '' - Note, enabling the direnv module will always activate its functionality - for Fish since the direnv package automatically gets loaded in Fish. - If this is not the case try adding - - ```nix - environment.pathsToLink = [ "/share/fish" ]; - ``` - - to the system configuration. - ''; - } - // { - default = true; - readOnly = true; - }; + enableFishIntegration = lib.hm.shell.mkFishIntegrationOption { inherit config; }; enableNushellIntegration = lib.hm.shell.mkNushellIntegrationOption { inherit config; };