Atuin: Difference between revisions
Start writing some documentation about atuin in nixos |
Write something about zsh autosuggestions |
||
Line 22: | Line 22: | ||
=== Enable synchronization with atuin.sh === | === Enable synchronization with atuin.sh === | ||
==== Imperatively ==== | ==== Imperatively ==== | ||
Line 56: | Line 54: | ||
key_path = config.age.secrets."atuin_key".path; | key_path = config.age.secrets."atuin_key".path; | ||
}; | }; | ||
}; | |||
}; | |||
</nowiki>}} | |||
=== zsh autosuggestions === | |||
If zsh autosuggestions is enabled, atuin automatically adds itself as the first autosuggestion strategy; See [https://docs.atuin.sh/integrations/#zsh-autosuggestions atuin docs] | |||
{{file|~/.config/home-manager/home.nix|nix|<nowiki> | |||
{ pkgs, ... }: { | |||
programs.zsh = { | |||
enable = true; | |||
autosuggestions.enable = true; # Enable autosuggestions | |||
}; | |||
programs.atuin = { | |||
enable = true; | |||
}; | }; | ||
}; | }; | ||
</nowiki>}} | </nowiki>}} |