From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Mazurkiewicz Subject: Re: Initial variables value? Date: Wed, 22 May 2019 15:07:17 +0200 Message-ID: References: <51BD8328-EE62-4A55-BB5B-D103EFB9A7AF@lepiller.eu> <87tvdqsduc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:57468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hTOct-0005Wc-64 for help-guix@gnu.org; Wed, 22 May 2019 06:37:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hTOcs-0002fC-6k for help-guix@gnu.org; Wed, 22 May 2019 06:37:39 -0400 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:36696) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hTOcr-0002dK-SM for help-guix@gnu.org; Wed, 22 May 2019 06:37:38 -0400 Received: by mail-qt1-x836.google.com with SMTP id a17so1676705qth.3 for ; Wed, 22 May 2019 03:37:34 -0700 (PDT) In-Reply-To: <87tvdqsduc.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org niedz., 19 maj 2019 o 16:45 Ludovic Court=C3=A8s napisa=C5= =82(a): > > Hi, > > Julien Lepiller skribis: > > > There are different ways to find these values. You can grep through the= code from https://git.savannah.gnu.org/git/guix.git (https://git.savannah.= gnu.org/cgit/guix.git for the web version). You can also run `guix repl` an= d type the variable name (you might need to import some modules before, I d= idn't check). Most of the time however, these variables are explained in th= e manual. > > > > For %desktop-services, the actual definition is around here: https://gi= t.savannah.gnu.org/cgit/guix.git/tree/gnu/services/desktop.scm#n1047 > > > > For default values of records, you'll have look at the code or the manu= al. Services are defined in gnu/services/*.scm. > > If you use Emacs and Emacs-Guix, you can also run: > > M-x guix-default-services Yes, it worked, thanks. > > which is really handy. > > Another trick is to run: > > guix system extension-graph /path/to/your/config.scm | dot -Tpdf > t.pd= f > evince t.pdf > > to view the =E2=80=9Cservice extension graph=E2=80=9D for your OS configu= ration. That > should give you an idea of what=E2=80=99s included and how these bits int= eract > with one another. Good advise, thanks a lot. > > HTH! > > Ludo=E2=80=99. Regards, Adam