<cole-h>
Hmm... reinstalling NixOS and I'm getting "option home.username is used but not defined" and "option home.homeDirectory is used but not defined". Anybody run into this before?
<cole-h>
Setting them manually lets installation proceed, but I'm wondering why I've never needed to do that before.
<rycee>
cole-h: Do you have `home.stateVersion` set to "20.09"?
<cole-h>
Yeah.
<rycee>
kloenk: Ah, right. I'm not sure what could be done about that.
<cole-h>
So just setting them to $HOME and $USER should get me up and running again.
<rycee>
Yes. Well, setting them to the value of the HOME and USER environment variables.
<cole-h>
$HOME doesn't work, since it needs to be a path, but $USER does.
<cole-h>
builtins.getEnv to the rescue!
<rycee>
You can't expect "$HOME" to work. Better use `getEnv` in that case.
<rycee>
Same with "$USER".
<cole-h>
Yep, indeed. Thanks for the help!
<rycee>
No worries. I would recommend keeping state version at 20.03, though. There might be more changes in the future that could break your configuration :-)
<cole-h>
Well, I am running unstable. "Ride or die", I guess. I'll just have to check the changelog when something breaks ;)
<rycee>
Hehe, nice. Well, I don't think there is anything too bad coming up. Nothing planned at least.
<rycee>
Would most likely be related to flakes, I guess. This one was to some extent.
<cole-h>
Ooh, flakes. Seems like things are ramping up in that department... Excited to see what comes out of it.