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;