1
0
Fork 0
dotfiles/home/programs/atuin.nix
2023-02-27 18:00:01 +01:00

51 lines
1.2 KiB
Nix

{ pkgs, lib, ... }:
{
programs.atuin = {
enable = true;
package = pkgs.atuin.overrideAttrs (
oldAttrs: rec {
version = "13.0.0";
src = pkgs.fetchFromGitHub {
owner = "ellie";
repo = "atuin";
rev = "v13.0.0";
hash = "sha256-liuHleJxRrPWOQ5jL3BD8ErbKNGBeRk9Emvfodqy5dQ=";
};
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (lib.const {
name = "${oldAttrs.pname}-${version}-vendor.tar.gz";
inherit src;
outputHash = "sha256-0j2daQ9Qj+t3J91lMw4OXdpUViFgPhDDJFMm4QvFohU=";
});
checkFlags = [
"--skip=tui::buffer::tests::index_of_panics_on_out_of_bounds"
"--skip=tui::buffer::tests::pos_of_panics_on_out_of_bounds"
];
}
);
enableBashIntegration = false;
enableZshIntegration = false;
enableFishIntegration = true;
settings = {
auto_sync = true;
sync_address = "http://100.113.242.85:8015";
sync_frequency = "1h";
update_check = false;
style = "auto";
search_mode = "fuzzy";
filter_mode_shell_up_key_binding = "session";
history_filter = [
"^base64decode"
];
};
};
}