nix/home-manager/common/software/cli/atuin.nix
2024-04-28 21:48:11 +09:00

19 lines
513 B
Nix

{ config, ... }: {
programs.atuin = {
enable = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableNushellIntegration = true;
enableZshIntegration = true;
settings = {
auto_sync = true;
sync_frequency = "1m";
sync_address = "https://atuin.sysctl.io";
search_mode = "prefix";
secrets_filter = true;
key_path = config.sops.secrets.atuin_key.path;
};
};
sops.secrets.atuin_key.sopsFile = ../../../../secrets/secrets.yaml;
}