atuin: Move module into the shell namespace

This commit is contained in:
SebastianStork 2026-02-10 20:42:56 +01:00
parent 2dffcf64c1
commit b5ce26226e
Signed by: SebastianStork
SSH key fingerprint: SHA256:tRrGdjYOwgHxpSc/wTOZQZEjxcb15P0tyXRsbAfd+2Q
2 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,22 @@
{
config,
osConfig,
pkgs,
lib,
...
}:
{
options.custom.programs.shell.atuin.enable = lib.mkEnableOption "";
config = lib.mkIf config.custom.programs.shell.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";
};
};
};
}