unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Timo Wilken" <guix@twilken.net>
To: "Felix Lechner" <felix.lechner@lease-up.com>,
	"help-guix" <help-guix@gnu.org>
Subject: Re: Replace official Guix in home-channels-service-type
Date: Wed, 10 May 2023 02:22:30 +0200	[thread overview]
Message-ID: <CSI63CBILVZW.1SKH65UVJDD3R@lap.twilken.net> (raw)
In-Reply-To: <CAFHYt57qYGrxW+_TdAq4LZu8gEK9OODszZwEjMdaKAuNVPaMNQ@mail.gmail.com>

Hi Felix,

On Mon May 8, 2023 at 3:28 PM CEST, Felix Lechner via wrote:
> Using Guix Home, how may I replace the official Guix channel in
> home-channels-service-type [1] please?

The way I interpret the docs, you can use `service' instead of
`simple-service' if you want to replace the default Guix channel.

(By "extending the service", the manual means `simple-service';
 by "directly configuring it", the manual means `service'.)

The following ought to do it:

  (service home-channels-service-type
           (list (channel (name 'my-guix) (url "...") (branch "...")
                          (introduction ...))))

I expect the note in the docs about using `simple-service' by default
is just meant to avoid misunderstanding, as users might not expect the
default Guix channel to disappear if they use `service' to configure
`home-channels-service-type'.

Cheers,
Timo


  reply	other threads:[~2023-05-10  0:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-08 13:28 Replace official Guix in home-channels-service-type Felix Lechner via
2023-05-10  0:22 ` Timo Wilken [this message]
2023-05-11  5:43   ` Felix Lechner via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CSI63CBILVZW.1SKH65UVJDD3R@lap.twilken.net \
    --to=guix@twilken.net \
    --cc=felix.lechner@lease-up.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).