atuin: add module
This commit adds a module for configuring atuin, a replacement shell history program. The module adds options for generating atuin's `config.toml` from Nix, and options to enable atuin's integration for bash and zsh (which will rebind history keys to open the atuin history).
This commit is contained in:
parent
1719495bdf
commit
af2007bb77
13 changed files with 228 additions and 0 deletions
14
tests/modules/programs/atuin/empty-settings.nix
Normal file
14
tests/modules/programs/atuin/empty-settings.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs.atuin.enable = true;
|
||||
|
||||
test.stubs = {
|
||||
atuin = { };
|
||||
bash-preexec = { };
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertPathNotExists home-files/.config/atuin/config.toml
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue