nixos/roles/home/zsh.nix
2023-06-11 01:31:02 +02:00

23 lines
483 B
Nix

{ config, pkgs, lib, ... }:
{
home.packages = with pkgs; [ any-nix-shell ];
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" "sudo" "docker" "docker-compose" "adb" "systemd" ];
theme = "bira";
};
enableAutosuggestions = true;
dotDir = ".config/zsh";
initExtra = ''
any-nix-shell zsh --info-right | source /dev/stdin
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
'';
};
}