guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guix system init but for guix home


From: (
Subject: Re: Guix system init but for guix home
Date: Tue, 08 Aug 2023 13:53:47 +0100

"(" <paren@disroot.org> writes:

> Christian Miller <miller.christian@proton.me> writes:
>> Basically my idea would be, that I am on the live ISO and run guix system 
>> init
>> [...] and after that I would run guix home init home.scm /mnt or something 
>> like
>> that.  Now if I reboot in to the actual system, I have my complete setup with
>> EXWM and Emacs completely configured and ready to go.
>
> Something that would cover this use case be a HOME-ENVIRONMENT field for
> user-accounts in /etc/config.scm:
>
>   (user-account
>    (name "paren")
>    ...
>    (home-environment
>     ...))
>
> which could either be a file-like that evaluates to a Scheme file that
> returns a HOME-ENVIRONMENT object, or a HOME-ENVIRONMENT by itself:
>
>   ;; with local-file
>   (home-environment
>    (local-file
>     (string-append (dirname (get-current-filename))
>                    "/home-paren.scm")))
>
>   ;; with home-environment
>   (home-environment
>    (home-environment
>     (services (cons* ...))
>     (packages (list ...))))
>
>   -- (

OP accidentally sent replies without CCing the mailing list, so:

Christian Miller:
> I like it, since now it is just the default command for initializing Guix.
>
> With that change, would that also mean that someone doesn't need to run "guix
> home reconfigure home.scm", since the person could just run "guix system
> reconfigure system.scm" after a "guix pull", if the person wants to update the
> whole system and the home packages like in my case?

me:
> Exactly.

Christian Miller:
> I like that.  Makes stuff easier for people like me that use both.
>
> I also replied to you directly.  I should have replied to all, so the system
> detects it as well.  Just to be sure, is that correct?
>
> How would we now add that stuff, so others could see those emails as
> well?

me:
> You'd have to resend it with the To: address changed and possibly also
> In-Reply-To: modified as well.  I guess you could just use 'reply all'
> in your mail client and then remove my address from the To: field.

Christian Miller:
> Hi,
>
> it seems that my mail client can only do this for one message, but we had
> several messages.  Should I begin with my initial message and we go through it
> again, or could you send all at once?

me:
> I'll send a compilation of all the messages as a reply to the original
> post.

  -- (



reply via email to

[Prev in Thread] Current Thread [Next in Thread]