2023-02-27 16:51:39 +00:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.atuin = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
package = pkgs.atuin.overrideAttrs (
|
2023-03-04 12:01:24 +00:00
|
|
|
_: rec {
|
|
|
|
nativeCheckInputs = [ ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
runHook preCheck
|
|
|
|
cargo test
|
|
|
|
runHook postCheck
|
|
|
|
'';
|
2023-02-27 16:51:39 +00:00
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
enableBashIntegration = false;
|
|
|
|
enableZshIntegration = false;
|
|
|
|
enableFishIntegration = true;
|
|
|
|
|
|
|
|
settings = {
|
2023-02-27 17:00:01 +00:00
|
|
|
auto_sync = true;
|
|
|
|
sync_address = "http://100.113.242.85:8015";
|
|
|
|
sync_frequency = "1h";
|
2023-02-27 16:51:39 +00:00
|
|
|
update_check = false;
|
|
|
|
|
|
|
|
style = "auto";
|
|
|
|
search_mode = "fuzzy";
|
|
|
|
filter_mode_shell_up_key_binding = "session";
|
|
|
|
|
|
|
|
history_filter = [
|
|
|
|
"^base64decode"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|