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

21 lines
563 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-28 14:48:11 +02:00
sync_frequency = "1m";
2024-04-28 07:06:03 +02:00
sync_address = "https://atuin.sysctl.io";
2024-04-28 15:05:39 +02:00
search_mode = "fuazzy";
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-28 06:39:08 +02:00
};
};
2024-04-28 14:48:11 +02:00
sops.secrets.atuin_key.sopsFile = ../../../../secrets/secrets.yaml;
2024-04-28 06:39:08 +02:00
}