Hi Gottfried,

Easily 'copying' your full profile with packages is one of the nice things about Guix. You can put all the packages in a manifest; e.g.:

guix package --export-manifest

and put that in a file; e.g.

guix package --export-manifest > my-manifest.scm

Store that file, and then on your new machine install everything with

guix package -m my-manifest.scm

I personally do not run `guix install` that often, but prefer to add packages to my-manifest.scm, and then install that whole file through the above command.

Once you get the hang of manifests, all kind of nice things become easier, like installing old versions of packages, or transforming packages. Or having multiple manifest files for different purposes, e.g. by using them with `guix shell`. Manifests are quite powerful, so a good thing to learn.

You can read more in "8.4 Writing Manifests" of the manual:
https://guix.gnu.org/manual/devel/en/html_node/Writing-Manifests.html

Hope that helps,
Hugo


On 3/29/26 10:53, gfp wrote:
Hi,

a simple question

If I copy my /home somewhere to save it
later I install Guix again as my system,
copy my saved /home back to guix...

what about all the packages I installed earlier?

/home does not include the installed packages
because they are in /gnu/store

Does that mean I have to reinstall all the packages again?
About 200 packages through "guix install ..."

How could I save my installed packages that I can easily get them after reinstalling Guix?

thanks

Gottfried



Reply via email to