home: add atuin

This commit is contained in:
Oystein Kristoffer Tveit 2023-05-08 01:48:38 +02:00
parent 418ab8c155
commit d33e310e7d
Signed by: oysteikt
GPG Key ID: 9F2F7D8250F35146
2 changed files with 19 additions and 0 deletions

View File

@ -12,6 +12,7 @@ in {
./config/ssh/hosts/pvv.nix ./config/ssh/hosts/pvv.nix
./config/xdg ./config/xdg
./programs/atuin.nix
./programs/comma.nix ./programs/comma.nix
./programs/firefox.nix ./programs/firefox.nix
./programs/gh.nix ./programs/gh.nix

18
home/programs/atuin.nix Normal file
View File

@ -0,0 +1,18 @@
{ config, ... }:
{
programs.atuin = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
settings = {
db_path = "${config.xdg.dataHome}/atuin/history.db";
key_path = "${config.xdg.configHome}/atuin/key";
session_path = "${config.xdg.configHome}/atuin/session_key";
dialect = "uk";
search_mode = "fuzzy";
style = "auto";
inline_height = 13;
};
};
}