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

33 lines
504 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
];
2024-05-06 16:43:33 -04:00
# Fish shell
2022-01-06 21:14:02 -05:00
programs.fish.enable = true;
2024-05-06 16:43:33 -04:00
# Disable greeting
programs.fish.interactiveShellInit =
"set -g fish_greeting";
# Eza - ls replacement
2022-03-11 21:05:25 -05:00
2024-02-10 23:38:54 -05:00
programs.eza = {
enable = true;
enableAliases = true;
};
2024-05-06 16:43:33 -04:00
programs.fish.shellAliases = {
l = "ls -al";
};
2024-02-10 23:38:54 -05:00
2024-01-13 13:56:07 -05:00
# rlwrap config
2022-03-11 21:05:25 -05:00
2023-09-02 18:19:15 -04:00
programs.fish.shellInit = ''
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
}