mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 00:57:22 +01:00
19 lines
470 B
Nix
19 lines
470 B
Nix
{ lib, config, globals, ... }:
|
|
let
|
|
atuinDomain = globals.services.atuin.domain;
|
|
in
|
|
{
|
|
options.swarselmodules.atuin = lib.mkEnableOption "atuin settings";
|
|
config = lib.mkIf config.swarselmodules.atuin {
|
|
programs.atuin = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
enableBashIntegration = true;
|
|
settings = {
|
|
auto_sync = true;
|
|
sync_frequency = "5m";
|
|
sync_address = "https://${atuinDomain}";
|
|
};
|
|
};
|
|
};
|
|
}
|