nix/home-manager/common/software/cli/atuin.nix

25 lines
631 B
Nix
Raw Normal View History

2024-04-28 14:48:11 +02:00
{ config, ... }: {
2024-04-28 06:39:08 +02:00
programs.atuin = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableNushellIntegration = true;
enableZshIntegration = true;
settings = {
auto_sync = true;
2024-04-29 02:00:46 +02:00
sync_frequency = "10s";
2024-04-28 07:06:03 +02:00
sync_address = "https://atuin.sysctl.io";
2024-04-29 01:08:53 +02:00
search_mode = "fuzzy";
2024-04-28 15:06:30 +02:00
search_mode_shell_up_key_binding = "fuzzy";
2024-04-28 07:06:03 +02:00
secrets_filter = true;
2024-04-28 14:48:11 +02:00
key_path = config.sops.secrets.atuin_key.path;
2024-04-29 02:00:46 +02:00
filter_mode = "global";
workspaces = true;
2024-04-28 06:39:08 +02:00
};
};
2024-04-28 14:48:11 +02:00
2024-04-29 14:01:46 +02:00
sops.secrets.atuin_key = {
sopsFile = ../../../../secrets/secrets.yaml;
};
2024-04-28 06:39:08 +02:00
}