From 19e69292192cbc63c6fab28121aa3193973b01f8 Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Wed, 30 Sep 2026 13:24:58 +0200 Subject: [PATCH] pinwheel: Add `atuin`, syncing to manatee --- hosts/pinwheel/modules/atuin/default.nix | 28 ++++++++++++++++++++++++ hosts/pinwheel/modules/default.nix | 1 + 2 files changed, 29 insertions(+) create mode 100644 hosts/pinwheel/modules/atuin/default.nix diff --git a/hosts/pinwheel/modules/atuin/default.nix b/hosts/pinwheel/modules/atuin/default.nix new file mode 100644 index 0000000..1b8054d --- /dev/null +++ b/hosts/pinwheel/modules/atuin/default.nix @@ -0,0 +1,28 @@ +{ lib, config, ... }: +let + enabled = config.mod.atuin.enable; +in +{ + options = { + mod.atuin = { + enable = lib.mkEnableOption "enable atuin module"; + }; + }; + + config = lib.mkIf enabled { + home-manager.users.alex = { + programs.atuin = { + enable = true; + enableZshIntegration = true; + + settings = { + sync_address = "http://manatee:8889"; + auto_sync = true; + sync_frequency = "5m"; + }; + }; + + programs.fzf.historyWidget.command = ""; + }; + }; +} diff --git a/hosts/pinwheel/modules/default.nix b/hosts/pinwheel/modules/default.nix index 5a34294..01106f5 100644 --- a/hosts/pinwheel/modules/default.nix +++ b/hosts/pinwheel/modules/default.nix @@ -25,6 +25,7 @@ in git.enable = true; zsh.enable = true; + atuin.enable = true; openvpn.enable = true;