[Newbie] Understanding user settings
So I'm used to zsh with powerlevel10k and I wanted to set it up on my brand new NixOS installation, however I am having trouble understanding how all of this is supposed to work. Installing zsh itself was very easy, I just added programs.zsh.enable = true; and users.defaultUserShell = pkgs.zsh; to make it the default. I also added the git and zoxide plugins to programs.zsh.ohMyZsh.plugins , but setting programs.zsh.ohMyZsh.theme to "powerlevel10k/powerlevel10k" did not work, omz just complained it didn't exist. I've tried adding a promptInit but that didn't exactly go as I wanted it to: it did enable p10k, but I had to go through the process of configuring it, which I assume means that it's a per-user thing, and I wanted to have a global config so that if I copy it to another machine I would have the same config without needing to also copy dotfiles from my home directory. I saw that there is something called a home manager, but I couldn't figure out how to get that working.
Of course I could probably just include the dotfile in the config and paste it into the home directory, but I assume that's not how you're supposed to do it. Please share any tips on how to do this idiomatically.