29 lines
797 B
Nix
29 lines
797 B
Nix
{ inputs, self, ... }: {
|
|
flake.nixosModules.zsh = { config, pkgs, ... }: {
|
|
programs.zsh.enable = true;
|
|
users.defaultUserShell = pkgs.zsh;
|
|
users.users."grey".shell = pkgs.zsh;
|
|
};
|
|
|
|
flake.homeModules.zsh = { pkgs, ... }: {
|
|
home.shell.enableZshIntegration = true;
|
|
|
|
programs.kitty.shellIntegration.enableZshIntegration = true;
|
|
|
|
programs.zsh = {
|
|
enable = true;
|
|
completionInit = "";
|
|
antidote = {
|
|
enable = true;
|
|
plugins = [
|
|
"getantidote/use-omz"
|
|
"ohmyzsh/ohmyzsh path:lib"
|
|
"ohmyzsh/ohmyzsh path:plugins/command-not-found"
|
|
"ohmyzsh/ohmyzsh path:themes/nanotech.zsh-theme"
|
|
"zsh-users/zsh-autosuggestions"
|
|
"zdharma-continuum/fast-syntax-highlighting"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
} |