nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

commit e776d1fb25616fce4f1ce48962d88d3c4045b1ed
parent 637e26bfa81432a8e13ed5747d79b367fd62ca1d
Author: breadcat <breadcat@users.noreply.github.com>
Date:   Mon, 26 Jan 2026 14:51:26 +0000

Use fish for nix-shell

Diffstat:
Mcommon/user.nix | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/common/user.nix b/common/user.nix @@ -7,6 +7,9 @@ extraGroups = [ "networkmanager" "wheel" "video" "input" ]; }; - # Enable fish shell + # Enable fish shell, and for nix-shell programs.fish.enable = true; + programs.fish.interactiveShellInit = '' + ${pkgs.any-nix-shell}/bin/any-nix-shell fish --info-right | source + ''; }