fork/home-manager

git clone https://git.julia.blue/fork/home-manager

Robert Helgessonatuin: add moduleaf2007bb

master
576 B32 linesraw
1{ ... }:
2
3{
4  programs.atuin = {
5    enable = true;
6
7    settings = {
8      db_path = "~/.atuin-history.db";
9      dialect = "us";
10      auto_sync = true;
11      search-mode = "fulltext";
12    };
13  };
14
15  test.stubs = {
16    atuin = { };
17    bash-preexec = { };
18  };
19
20  nmt.script = ''
21    assertFileContent \
22      home-files/.config/atuin/config.toml \
23      ${
24        builtins.toFile "example-settings-expected.toml" ''
25          auto_sync = true
26          db_path = "~/.atuin-history.db"
27          dialect = "us"
28          search-mode = "fulltext"
29        ''
30      }
31  '';
32}