2023-07-19 15:01:47 +02:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
2023-09-19 16:03:41 +02:00
|
|
|
programs.command-not-found.enable = false;
|
|
|
|
programs.nix-index-database.comma.enable = true;
|
2023-07-19 15:01:47 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
# fzf
|
|
|
|
bat
|
|
|
|
duf
|
|
|
|
];
|
|
|
|
programs.fzf = {
|
|
|
|
keybindings = true;
|
|
|
|
};
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
shellAliases = {
|
|
|
|
l = "ls -l";
|
|
|
|
ll = "ls -la";
|
|
|
|
la = "ls -a";
|
|
|
|
less = "bat";
|
|
|
|
};
|
|
|
|
histSize = 100000;
|
|
|
|
histFile = "~/.local/share/zsh/history";
|
|
|
|
autosuggestions = {
|
|
|
|
enable = true;
|
|
|
|
highlightStyle = "fg=#00bbbb,bold";
|
|
|
|
};
|
|
|
|
|
2023-09-19 16:03:41 +02:00
|
|
|
shellInit = ''
|
|
|
|
zsh-newuser-install () {}
|
|
|
|
'';
|
|
|
|
interactiveShellInit = ''
|
|
|
|
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
|
|
|
|
source ${pkgs.agdsn-zsh-config}/etc/zsh/zshrc
|
|
|
|
'';
|
2023-09-19 21:08:53 +02:00
|
|
|
promptInit = "";
|
2023-07-19 15:01:47 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|