feat: enable atuin and direnv zsh integrations

This commit is contained in:
Laureηt 2023-04-08 14:50:25 +02:00
parent 58207541bf
commit 4bd776706e
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -130,6 +130,7 @@ in {
extraGroups = [ "wheel" "video" "docker" "adbusers" ];
shell = pkgs.zsh;
};
programs.zsh.enable = true;
home-manager.users.laurent = {
home.stateVersion = "22.11";
home.packages = with pkgs; [
@ -159,8 +160,6 @@ in {
borgbackup
atuin
gnome.nautilus
jmtpfs
@ -238,8 +237,7 @@ in {
bindkey "^[[1;3D" backward-word
bindkey '^H' backward-kill-word
bindkey '5~' kill-word
eval "$(direnv hook zsh)"
eval "$(atuin init zsh)"
# eval "$(atuin init zsh)"
'';
plugins = [
{
@ -265,8 +263,14 @@ in {
];
};
programs.atuin = {
enable = true;
enableZshIntegration = true;
};
programs.direnv = { # TODO: use github:numtide/devshell ?
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
};