mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 20:09:07 +01:00
22 lines
545 B
Nix
22 lines
545 B
Nix
{
|
|
config,
|
|
osConfig,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
options.custom.programs.atuin.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.custom.programs.atuin.enable {
|
|
programs.atuin = {
|
|
enable = true;
|
|
forceOverwriteSettings = true;
|
|
flags = [ "--disable-up-arrow" ];
|
|
settings = {
|
|
sync_address = "https://atuin.${osConfig.custom.networking.overlay.domain}";
|
|
key_path = pkgs.writeText "atuin-key" "3AAgzNnMicyALmrMt8ywzL/Mv3LMkEI/zKdPzLDMwCB9KCAwWsybzOrMn8zmzLZszIgMMQ==\n";
|
|
};
|
|
};
|
|
};
|
|
}
|