about summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-04-14 17:07:20 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-04-14 17:07:20 +0200
commit19795a99d764cfb5fa9e3e6820a2ec23557f6c39 (patch)
tree819c76b52ff6ec5e98567c4ab01dbe9e7c10adbe /modules
parentmodules/i3status-rust: Use upstream package (diff)
downloadnixos-config-19795a99d764cfb5fa9e3e6820a2ec23557f6c39.zip
modules/atin: Use upstream package
`atuin` now supports configuring the keymap.
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/at/atuin/module.nix9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/by-name/at/atuin/module.nix b/modules/by-name/at/atuin/module.nix
index 700f50fb..0e87b4ab 100644
--- a/modules/by-name/at/atuin/module.nix
+++ b/modules/by-name/at/atuin/module.nix
@@ -34,10 +34,10 @@ in {
     home-manager.users.soispha = {
       programs.atuin = {
         enable = true;
-        package = pkgs.atuin-dvorak;
 
         # We can do this on our own.
         enableZshIntegration = false;
+
         settings = {
           key_path = lib.mkMerge [
             (lib.mkIf cfg.enableAge "${config.age.secrets.atuin_encryption_key.path}")
@@ -80,6 +80,13 @@ in {
             ignored_commands = [];
           };
 
+          keymap.vim-normal = {
+            "h" = "cursor-left";
+            "t" = "select-next";
+            "n" = "select-previous";
+            "s" = "cursor-right";
+          };
+
           # I currently don't want a sync deamon or a dotfiles manager running.
           deamon.enable = false;
           dotfiles.enable = false;