unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How is .guix-home created?
@ 2021-10-16  5:54 Holger Peters
  2021-10-16 12:35 ` Oleg Pykhalov
  2021-10-16 13:09 ` Daniel Meißner
  0 siblings, 2 replies; 4+ messages in thread
From: Holger Peters @ 2021-10-16  5:54 UTC (permalink / raw)
  To: help-guix

Hi,

I am trying to get started with guix home but somehow feel the docs
are missing (or I am not stumbling over the right things).

So, I am running guix on top of a Debian testing, just to provide the
context that I am operating in. I found
https://guix.gnu.org/manual/devel/en/html_node/Home-Configuration.html
and what is missing is how the ~/.guix-home directory is created (I
assume it is created by .guix-home). Or, to phrase it from another angle,
how do I connect the home-configuration as in
https://guix.gnu.org/manual/devel/en/html_node/Declaring-the-Home-Environment.html
with guix-home.

Holger

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

* Re: How is .guix-home created?
  2021-10-16  5:54 How is .guix-home created? Holger Peters
@ 2021-10-16 12:35 ` Oleg Pykhalov
  2021-10-19 20:03   ` Holger Peters
  2021-10-16 13:09 ` Daniel Meißner
  1 sibling, 1 reply; 4+ messages in thread
From: Oleg Pykhalov @ 2021-10-16 12:35 UTC (permalink / raw)
  To: Holger Peters; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

Hi,

Holger Peters <holger.peters@posteo.de> writes:

> I am trying to get started with guix home but somehow feel the docs
> are missing (or I am not stumbling over the right things).
>
> So, I am running guix on top of a Debian testing, just to provide the
> context that I am operating in. I found
> https://guix.gnu.org/manual/devel/en/html_node/Home-Configuration.html
> and what is missing is how the ~/.guix-home directory is created […]

It's created by first 'guix home reconfigure' invokation.  Did you try
that?  Also, what does 'guix describe' show?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 861 bytes --]

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

* Re: How is .guix-home created?
  2021-10-16  5:54 How is .guix-home created? Holger Peters
  2021-10-16 12:35 ` Oleg Pykhalov
@ 2021-10-16 13:09 ` Daniel Meißner
  1 sibling, 0 replies; 4+ messages in thread
From: Daniel Meißner @ 2021-10-16 13:09 UTC (permalink / raw)
  To: Holger Peters; +Cc: help-guix

Hi Holger,

Holger Peters schreibt:
>So, I am running guix on top of a Debian testing, just to provide the
>context that I am operating in. I found
>https://guix.gnu.org/manual/devel/en/html_node/Home-Configuration.html
>and what is missing is how the ~/.guix-home directory is created (I
>assume it is created by .guix-home). Or, to phrase it from another angle,
>how do I connect the home-configuration as in
>https://guix.gnu.org/manual/devel/en/html_node/Declaring-the-Home-Environment.html
>with guix-home.

The ~/.guix-home directory is created by the `guix home' command automatically. The manual says:

> The home environment is configured by providing a home-environment declaration in a file that can be passed to the guix home command (see Invoking guix home).

So, after you wrote your home-enviroment declaration, say in the file myhome.scm, you'd invoke

$ guix home reconfigure myhome.scm

which will create the ~/.guix-home directory as well as the appropiate ~/.bash_profile file if your home-environment also contains a shell configuration (this is recommended). No worries about existing config files, guix home will back them up for you.

Best
Daniel


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

* Re: How is .guix-home created?
  2021-10-16 12:35 ` Oleg Pykhalov
@ 2021-10-19 20:03   ` Holger Peters
  0 siblings, 0 replies; 4+ messages in thread
From: Holger Peters @ 2021-10-19 20:03 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: daniel.meissner-i4k, help-guix

Thanks Daniel and oleg, it worked.

> Am 16.10.2021 um 14:35 schrieb Oleg Pykhalov <go.wigust@gmail.com>:
> 
> Hi,
> 
> Holger Peters <holger.peters@posteo.de> writes:
> 
>> I am trying to get started with guix home but somehow feel the docs
>> are missing (or I am not stumbling over the right things).
>> 
>> So, I am running guix on top of a Debian testing, just to provide the
>> context that I am operating in. I found
>> https://guix.gnu.org/manual/devel/en/html_node/Home-Configuration.html
>> and what is missing is how the ~/.guix-home directory is created […]
> 
> It's created by first 'guix home reconfigure' invokation.  Did you try
> that?  Also, what does 'guix describe' show?



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

end of thread, other threads:[~2021-10-19 20:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-16  5:54 How is .guix-home created? Holger Peters
2021-10-16 12:35 ` Oleg Pykhalov
2021-10-19 20:03   ` Holger Peters
2021-10-16 13:09 ` Daniel Meißner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).