Consolidated vs separate home and system configuration

David’d dotfiles feature two kinds of system configurations.

The one I call consolidated (I don’t think it is a good name, if you have a better name please tell me), where there is a #:home and #:system sections under system-config. This is exemplified in every system configuration except for davinci. See for example the configuration for acidburn,

But in davinci we can see two separate definitions, and the last line conditionally evaluates the home or the system configuration so update-home works.

My question is, with which strategy should I stick? Also, I’m not sure how to do a guix home reconfigure when using the consolidated configuration. If I try to run guix home --load-path=/home/Ez3/src/Guix/configurations/ reconfigure ~/src/Guix/configurations/daviwil/systems/Regina.scm it fails because Regina.scm “does not return a home environment”. Is this consolidated configuration style documented elsewhere?, I couldn’t find it while skimming through the manual.

Update: I see that there is a guix-home branch which uses the separate definition strategy in every system configuration file. But it is 129 commits behind master. So, what do you think?

Update2: My current understanding is that what I call “consolidated” configurations, are just guix system configurations, not intended for use with guix home at all.

Hi. I hope you still interested in this question.
I’ve found myself in the same situation.
If you take a look to base.scm you will find a line which links home profile to desired user.
So you update home profile each time you update system. I still lack a way to update only home.

Yup! Thanks for your reply.

To only update home we can try to rewrite the configurations as in acidburn.

Btw, since adapting David’s configuration, I’m having problems while trying to reboot or poweroff. The process goes on for some seconds, and some services are turned off like sshd, but then it just sits and does nothing. The computer is not “frozen”, I can plug a keyboard and caps-lock num-lock lights would turn on, but I cannot do anything except a hard reset ot long-press the power button. There’s a simliar post related to rebooting Problem with reboot --kexec