diff --git a/fish/functions/fish_prompt.fish b/fish/functions/fish_prompt.fish
index 8b1d19c..3750f81 100644
--- a/fish/functions/fish_prompt.fish
+++ b/fish/functions/fish_prompt.fish
@@ -86,5 +86,10 @@ function fish_prompt
         end
     end
 
-    echo -n -s $arrow ' '$cwd $repo_info $normal ' '
+    set -l nix_info
+    if [ -n "$IN_NIX_SHELL" ]
+        set nix_info "$yellow (in nix shell)"
+    end
+
+    echo -n -s $arrow ' ' $cwd $nix_info $repo_info $normal ' '
 end