nixos/home/shell/default.nix
Evie Litherland-Smith e16ea740c9 Swap default login shell for bash
Add readline variables to configure bash, add ~/.inputrc to
rsync-local-config.sh
2024-07-16 07:45:17 +01:00

65 lines
1.4 KiB
Nix

{pkgs, ...}: {
imports = [
./bottom.nix
./fastfetch.nix
./git.nix
./ssh.nix
./starship.nix
./zsh.nix
];
home.packages = with pkgs; [
rclone
git-sync
du-dust
];
programs = {
bash = {
enable = true;
enableCompletion = true;
};
bat = {
enable = true;
config = {
theme = "OneHalfLight";
style = "plain,numbers,changes";
};
};
eza = {
enable = true;
git = true;
icons = true;
extraOptions = ["--octal-permissions"];
};
direnv = {
enable = true;
nix-direnv.enable = true;
};
fd.enable = true;
fzf = {
enable = true;
defaultCommand = "${pkgs.fd}/bin/fd --type f";
changeDirWidgetCommand = "${pkgs.fd}/bin/fd --type d";
fileWidgetCommand = "${pkgs.fd}/bin/fd --type f";
};
jq.enable = true;
readline = {
enable = true;
variables = {
bell-style = "visible";
blink-matching-paren = "On";
colored-completion-prefix = "On";
colored-stats = "On";
completion-ignore-case = "On";
completion-map-case = "On";
editing-mode = "emacs";
expand-tilde = "On";
horizontal-scroll-mode = "On";
mark-directories = "On";
mark-symlinked-directories = "On";
visible-stats = "On";
};
};
ripgrep.enable = true;
};
}