I am newbie to nixos, I have installed nixos on macOS BigSur.
I followed instructions Set up nix & home-manager in macoS Big Sur 11 · GitHub
With the following zsh config
{
programs.zsh = {
enable = true;
enableAutosuggestions = true;
enableSyntaxHighlighting = true;
zplug = {
enable = true;
plugins = [{
name = "dracula/zsh";
tags = [ "as:theme" "depth:1" ];
}];
};
oh-my-zsh = {
enable = true;
theme = "robbyrussel";
};
};
}
I see the following error when the shell starts,
/nix/store/4karx4fkzchyyz7pa6j5gbhz5djn4jxv-oh-my-zsh-2021-09-22/share/oh-my-zsh/oh-my-zsh.sh:source:137: no such file or directory: /nix/store/4karx4fkzchyyz7pa6j5gbhz5djn4jxv-oh-my-zsh-2021-09-22/share/oh-my-zsh/themes/robbyrussel.zsh-theme
I see the directory is owned by root:nixbld
and I have also added my current user to group nixbld
but still no help .
Can someone help what is the root cause ?