dotfiles/nix/home/programs/zsh/default.nix
2026-03-19 10:48:35 -07:00

32 lines
589 B
Nix

{ pkgs, config, ... }:
with builtins; {
home.packages = with pkgs; [
zsh-autosuggestions
zsh-syntax-highlighting
];
programs.zsh = {
enable = true;
enableCompletion = true;
defaultKeymap = "viins";
initContent = readFile ./zshrc;
oh-my-zsh = {
enable = true;
theme = "typewritten";
custom = "$HOME/.oh-my-zsh/custom";
plugins = [
"vi-mode"
];
};
dotDir = "${config.xdg.configHome}/zsh";
};
home.file.".oh-my-zsh/custom/themes/typewritten.zsh-theme" = {
source = ./typewritten.zsh-theme;
};
}