nixos/roles/home/zsh.nix

18 lines
358 B
Nix
Raw Normal View History

2021-06-25 12:55:23 +01:00
{ config, pkgs, lib, ... }: {
2021-10-13 13:29:07 +01:00
home.packages = with pkgs; [ zsh any-nix-shell ];
2021-06-25 12:55:23 +01:00
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
plugins = [ "git" "sudo" "docker" "docker-compose" "adb" "systemd" ];
theme = "bira";
};
2021-10-13 13:29:07 +01:00
initExtra = ''
any-nix-shell zsh --info-right | source /dev/stdin
'';
2021-06-25 12:55:23 +01:00
};
}