nix/home-manager/common/software/cli/atuin.nix
2024-04-29 21:27:37 +09:00

24 lines
631 B
Nix

{ config, ... }: {
programs.atuin = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableNushellIntegration = true;
enableZshIntegration = true;
settings = {
auto_sync = true;
sync_frequency = "10s";
sync_address = "https://atuin.sysctl.io";
search_mode = "fuzzy";
search_mode_shell_up_key_binding = "fuzzy";
secrets_filter = true;
key_path = config.sops.secrets.atuin_key.path;
filter_mode = "global";
workspaces = true;
};
};
sops.secrets.atuin_key = {
sopsFile = ../../../../secrets/secrets.yaml;
};
}