30 lines
480 B
Nix
30 lines
480 B
Nix
{ inputs, ... }:
|
|
{
|
|
flake.modules.nixos.zsh = {
|
|
programs.zsh.enable = true;
|
|
|
|
environment.pathsToLink = [ "/share/zsh" ];
|
|
};
|
|
|
|
flake.modules.homeManager.zsh = { pkgs, ... }: {
|
|
imports = with inputs.self.modules.homeManager; [
|
|
];
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
|
|
autocd = true;
|
|
enableCompletion = true;
|
|
autosuggestion.enable = true;
|
|
syntaxHighlighting.enable = true;
|
|
|
|
oh-my-zsh = {
|
|
enable = true;
|
|
plugins = [
|
|
"git"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|