nixos/system/home/shell/default.nix

67 lines
1.4 KiB
Nix
Raw Normal View History

2024-07-30 15:06:34 +01:00
{ 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;
2024-07-30 15:06:34 +01:00
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;
2024-07-31 06:17:53 +01:00
nix-index.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;
};
}