nixos/roles/home/zsh.nix
2023-04-10 20:17:08 +02:00

20 lines
355 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";
};
initExtra = ''
any-nix-shell zsh --info-right | source /dev/stdin
'';
};
}