all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* uninstall/unmanage guix home on my foreign system
@ 2022-07-25 22:43 jgart
  2022-08-09 20:25 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: jgart @ 2022-07-25 22:43 UTC (permalink / raw)
  To: Guix Help

Hi Guixers,

How can I "uninstall" guix home or have it not manage my dotfiles or a particular subset of dotfiles that I no longer want managed?

Is there a recommended way to do this from the guix CLI or do I have to manually remove or unlink stuff?

I'm not on Guix System.

Any help is much appreciated.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: uninstall/unmanage guix home on my foreign system
  2022-07-25 22:43 uninstall/unmanage guix home on my foreign system jgart
@ 2022-08-09 20:25 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-08-09 20:25 UTC (permalink / raw)
  To: jgart; +Cc: Guix Help

Hi jgart,

jgart <jgart@dismail.de> skribis:

> How can I "uninstall" guix home or have it not manage my dotfiles or a particular subset of dotfiles that I no longer want managed?

Good question; I don’t think there’s an easy way to escape, it’s a bit
of a trap.  :-)

What I would do is something like this (untested):

  1. Make sure packages you need are installed on the system or in
     ~/.guix-profile, by running, say:

       guix package --export-manifest -p ~/.guix-home/profile/manifest > \
         ~/my-manifest.scm

       guix package -m ~/my-manifest.scm

   2. Restore dot files that were managed by Guix Home, for example by
      copying your original dot files from a backup such as the one
      created by ‘guix home reconfigure’:

        for i in .bashrc .bash_profile # add others here
        do
          rm "$HOME/$i"
          cp -v "$HOME/guix-home-backup-whatever-its-called/$i" "$HOME"
        fi

   3. Remove your home profile:

       rm -v ~/.guix-home /var/guix/profiles/per-user/$USER/guix-home*

IWBN to have a ‘guix home’ subcommand to do that automatically.

HTH!

Ludo’.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-09 20:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-25 22:43 uninstall/unmanage guix home on my foreign system jgart
2022-08-09 20:25 ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.