mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 17:49:07 +01:00
atuin: Init server and client modules
This commit is contained in:
parent
fa2bef14f4
commit
eef54ae432
2 changed files with 49 additions and 0 deletions
22
modules/home/programs/atuin.nix
Normal file
22
modules/home/programs/atuin.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue