{ pkgs, lib, ... }: let cargoHash = if pkgs.stdenv.isDarwin then "sha256-0j2daQ9Qj+t3J91lMw4OXdpUViFgPhDDJFMm4QvFohU=" else "sha256-WOJurXTLIKTyFrxjnQpDbyrc6U0UvJELvqfG2UbfS4g="; in { 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 = cargoHash; }); 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" ]; }; }; }