finally zsh-vi-mode declared!

This commit is contained in:
2026-03-11 19:31:23 +02:00
parent 61b37a361f
commit dd1f21595e

View File

@@ -87,6 +87,10 @@
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
# Configure keymap in X11 # Configure keymap in X11
services.xserver.xkb = { services.xserver.xkb = {
@@ -94,6 +98,7 @@
variant = ""; variant = "";
options = "caps:escape"; options = "caps:escape";
}; };
programs.zsh = { programs.zsh = {
enable = true; enable = true;
enableCompletion = true; enableCompletion = true;
@@ -111,6 +116,9 @@
setOptions = [ setOptions = [
"HIST_IGNORE_ALL_DUPS" "HIST_IGNORE_ALL_DUPS"
]; ];
interactiveShellInit = ''
source ${pkgs.zsh-vi-mode}/share/zsh-vi-mode/zsh-vi-mode.plugin.zsh
'';
}; };
users.defaultUserShell = pkgs.zsh; users.defaultUserShell = pkgs.zsh;
services.tailscale.enable = true; services.tailscale.enable = true;