cfcd52ff70
GitOrigin-RevId: 70c5b268e10025c70823767f4fb49e240b40151d
32 lines
576 B
Nix
32 lines
576 B
Nix
{ ... }:
|
|
|
|
{
|
|
programs.atuin = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
db_path = "~/.atuin-history.db";
|
|
dialect = "us";
|
|
auto_sync = true;
|
|
search-mode = "fulltext";
|
|
};
|
|
};
|
|
|
|
test.stubs = {
|
|
atuin = { };
|
|
bash-preexec = { };
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/atuin/config.toml \
|
|
${
|
|
builtins.toFile "example-settings-expected.toml" ''
|
|
auto_sync = true
|
|
db_path = "~/.atuin-history.db"
|
|
dialect = "us"
|
|
search-mode = "fulltext"
|
|
''
|
|
}
|
|
'';
|
|
}
|