nixos/modules/home-manager/zsh.nix
2025-07-28 11:19:08 -07:00

28 lines
565 B
Nix

{ pkgs, ... }:
let
shellAliases = {
rebuild-nix = "sudo nixos-rebuild switch --flake /home/jack/nixos/#t480";
};
in
{
programs.zsh = {
enable = true;
inherit shellAliases;
syntaxHighlighting.enable = true;
autosuggestion.enable = true;
};
programs.zsh.oh-my-zsh = {
enable = true;
theme = "gentoo";
plugins = [
"git"
"kubectl"
"helm"
"docker"
];
};
programs.bash = {
enable = true;
inherit shellAliases;
};
}