nixos/home/shell/default.nix

67 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;
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;
};
}