1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-05 01:19:46 +01:00
home-manager/tests/modules/programs/atuin/example-settings.nix

33 lines
592 B
Nix
Raw Normal View History

{ ... }:
{
programs.atuin = {
enable = true;
settings = {
db_path = "~/.atuin-history.db";
dialect = "us";
auto_sync = true;
search-mode = "fulltext";
};
};
test.stubs = {
2024-07-10 23:11:15 +02:00
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"
''
}
'';
}