nixos-dotfiles/home/omz-zsh.nix

27 lines
674 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
home = {
packages = with pkgs; [
meslo-lgs-nf
];
file.".p10k.zsh".source = ../config/zsh/p10k/p10k.zsh;
file.".oh-my-zsh/custom/themes/powerlevel10k".source = pkgs.fetchFromGitHub {
owner = "romkatv";
repo = "powerlevel10k";
sha256 = "sha256-FbjjOLod4l+FGvOhSAmTuAdsoBrxdfEY/MYP163N1xY="; # I have no clue where to get this from, I just copied it from an error.
rev = "e72264e01cb24431455ed6e398a769bca0da7ffe";
};
};
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
custom = "$HOME/.oh-my-zsh/custom";
theme = "powerlevel10k/powerlevel10k";
};
};
}