nixos-config/home-manager/shell/default.nix

22 lines
324 B
Nix
Raw Normal View History

2023-10-27 15:07:46 -04:00
{ pkgs, ... }:
2022-01-06 21:14:02 -05:00
{
imports = [
./alacritty.nix
./starship.nix
];
programs.fish.enable = true;
2022-03-11 21:05:25 -05:00
# Hook nix-direnv to shell
2023-09-02 18:19:15 -04:00
programs.fish.shellInit = ''
set -xg DIRENV_LOG_FORMAT ""
direnv hook fish | source
2023-10-27 15:07:46 -04:00
set -xg RLWRAP_HOME $XDG_DATA_HOME/rlwrap
2023-09-02 18:19:15 -04:00
'';
2023-10-27 15:07:46 -04:00
home.packages = [ pkgs.rlwrap ];
2022-01-06 21:14:02 -05:00
}