hlissner / dotfiles

And I say hey, what's going on?
https://youtu.be/ZZ5LpwO-An4
MIT License
1.62k stars 98 forks source link

Upon moving to the new `hey`/`flake` based system, ZGEN_SOURCE broken #10

Closed jboyens closed 3 years ago

jboyens commented 3 years ago

I've been following your dotfiles for a while now, and finally moved to the flake-based hey system.

Because of the complexity of the merge, I ended up just starting over from the base level. I ended up getting the system upgraded and most things back to normal, but I've been stymied by ZGEN_SOURCE and the zsh plugin system.

Somehow, post-boot $ZGEN_SOURCE is always set to $ZGEN_DIR (missing zgen.zsh at the end). I've scoured the dotfiles and haven't been able to find HOW this is happening. Checking /etc/set-environment I see the correct value set, but something is overwritting the value. userActivationScripts are also failing post-hey rebuild, but I'm not sure if that could be causing the environment not to completely roll-over even after a reboot (new generations are created).

I was hoping you had some insight since you once went through this upgrade yourself.