nixos-config/home-manager/shell/default.nix
2023-10-27 15:07:46 -04:00

22 lines
324 B
Nix

{ pkgs, ... }:
{
imports = [
./alacritty.nix
./starship.nix
];
programs.fish.enable = true;
# Hook nix-direnv to shell
programs.fish.shellInit = ''
set -xg DIRENV_LOG_FORMAT ""
direnv hook fish | source
set -xg RLWRAP_HOME $XDG_DATA_HOME/rlwrap
'';
home.packages = [ pkgs.rlwrap ];
}