mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
32 lines
592 B
Nix
32 lines
592 B
Nix
{ ... }:
|
|
|
|
{
|
|
programs.atuin = {
|
|
enable = true;
|
|
|
|
settings = {
|
|
db_path = "~/.atuin-history.db";
|
|
dialect = "us";
|
|
auto_sync = true;
|
|
search-mode = "fulltext";
|
|
};
|
|
};
|
|
|
|
test.stubs = {
|
|
atuin = { name = "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"
|
|
''
|
|
}
|
|
'';
|
|
}
|