1
1
Fork 0
mirror of https://git.sr.ht/~rouven/nixos-config synced 2025-02-28 04:10:56 +01:00
nixos-config/hosts/iso/zsh.nix

27 lines
520 B
Nix

{ pkgs, ... }:
{
programs.command-not-found.enable = false;
users.defaultUserShell = pkgs.zsh;
programs.fzf = {
fuzzyCompletion = true;
keybindings = true;
};
programs.zsh = {
enable = true;
autosuggestions = {
enable = true;
highlightStyle = "fg=#00bbbb,bold";
};
ohMyZsh = {
enable = true;
theme = "risto";
};
shellInit =
''
source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh
zsh-newuser-install () {}
'';
};
}