Hi, Reily Siegel skribis: > * gnu/home/services/guix.scm: New file. > * gnu/local.mk (GNU_SYSTEM_MODULES): Add guix.scm. > * doc/guix.texi: Add documentation for home-channels-service. Neat! Applied with the cosmetic changes below. > +(define (channels-xdg-files channels) > + `(("guix/channels.scm" > + ,(plain-file > + "channels.scm" > + (call-with-output-string > + (lambda (port) > + (pretty-print (cons 'list (map channel->code channels)) port))))))) The downside with this approach is that it doesn’t let you have a sophisticated ‘channels.scm’ file, for instance one that calls ‘channel-with-substitutes-available’ (info "(guix) Channels with Substitutes"). All in all, I think that’s an acceptable limitation. Someone willing to write arbitrary code to ‘channels.scm’ can “roll their own” and extend ‘home-xdg-configuration-files-service-type’ similarly. Thanks, Ludo’.