all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Gábor Boskovits" <boskovits@gmail.com>
To: John Soo <jsoo1@asu.edu>
Cc: help-guix <help-guix@gnu.org>,
	SuarezMiguelC <SuarezMiguelC@protonmail.com>
Subject: Re: New reconfigure, creating a file under /etc
Date: Mon, 7 Oct 2019 08:30:32 +0200	[thread overview]
Message-ID: <CAE4v=pgoaxB++tKpBEK87drCXJwaY4mT-dgWvnWpM-8hZcPOqQ@mail.gmail.com> (raw)
In-Reply-To: <8380059A-EF24-49E5-8691-ACA5F5F9D1F2@asu.edu>

John Soo <jsoo1@asu.edu> ezt írta (időpont: 2019. okt. 7., Hét 4:12):

> Hi there,
>
> > (services
> >    (append
> >     (list (service gnome-desktop-service-type)
> >   (service etc-service-type
> >    (list `("os-release" ,(plain-file "os-release"
> >      "PRETTY_NAME=Guix-System"))))
> >   (set-xorg-configuration
> >    (xorg-configuration
> >     (keyboard-layout keyboard-layout))))
> >     %desktop-services)))
> >
> > Trying to run this reconfigure will cause an error for 'more than one
> etc service'
>
> You will want to use modify-services to modify the existing etc-service in
> %desktop-services. Check out the services reference in the manual:
> https://guix.gnu.org/manual/en/html_node/Service-Reference.html
>
> An example might be:
>
> (modify-services %desktop-services
>   (etc-service-type conf
>     (do-something-to conf)))
>
> Then you can append the new ones onto the modified services.
>
If you just want to add a file, you could extend it using
extra-special-file.

>
>
> Hope that helps,
>
> John
>
>
>

  reply	other threads:[~2019-10-07  6:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-07  0:12 New reconfigure, creating a file under /etc SuarezMiguelC via
2019-10-07  2:12 ` John Soo
2019-10-07  6:30   ` Gábor Boskovits [this message]
2019-10-07  7:03 ` Efraim Flashner
2019-10-09  8:11   ` Giovanni Biscuolo

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

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

  git send-email \
    --in-reply-to='CAE4v=pgoaxB++tKpBEK87drCXJwaY4mT-dgWvnWpM-8hZcPOqQ@mail.gmail.com' \
    --to=boskovits@gmail.com \
    --cc=SuarezMiguelC@protonmail.com \
    --cc=help-guix@gnu.org \
    --cc=jsoo1@asu.edu \
    /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.
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.