2023-09-20 14:07:50 +02:00
|
|
|
{ lib, pkgs, ... }:
|
2023-07-19 15:01:47 +02:00
|
|
|
{
|
2024-04-16 21:44:48 +02:00
|
|
|
users.users.root.shell = pkgs.zsh;
|
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;
|
|
|
|
autosuggestions = {
|
|
|
|
enable = true;
|
|
|
|
highlightStyle = "fg=#00bbbb,bold";
|
|
|
|
};
|
|
|
|
|
2023-09-20 14:07:50 +02:00
|
|
|
# don't override agdsn-zsh-config aliases
|
2023-09-20 14:09:55 +02:00
|
|
|
shellAliases = lib.mkForce { };
|
2023-09-20 14:07:50 +02:00
|
|
|
|
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
|
2023-12-18 12:04:35 +01:00
|
|
|
HW_CONF_ALIASES_GIT_AUTHOR_REMINDER=0
|
2023-09-19 16:03:41 +02:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|
|
|
|
|