From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Advanced Config Template Date: Tue, 20 Jan 2015 22:17:26 +0100 Message-ID: <87bnlt17a1.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57858) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDgB4-0004je-3J for guix-devel@gnu.org; Tue, 20 Jan 2015 16:17:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDgAz-0006ih-4l for guix-devel@gnu.org; Tue, 20 Jan 2015 16:17:34 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:48166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDgAy-0006iP-Tb for guix-devel@gnu.org; Tue, 20 Jan 2015 16:17:29 -0500 In-Reply-To: (Omar Radwan's message of "Mon, 19 Jan 2015 19:42:47 -0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Omar Radwan Cc: guix-devel@gnu.org Omar Radwan skribis: > I'm trying to install guix in a way that I have X, tor and networking on > the fly right after install, but I'm having a very hard time with the > declaration services. This is my config.scm > > (use-modules (gnu)) > > (operating-system > (host-name "Atom") > (timezone "US/Pacific") > (locale "en_US.UTF-8") > (bootloader (grub-configuration (device "/dev/sda"))) > (file-systems (cons (file-system > (device "/dev/sda1") > (mount-point "/") > (type "ext4")) > %base-file-systems)) > (users (list (user-account > (name "omar") > (group "users") > > > (supplementary-groups '("wheel" > "audio" "video")) > (home-directory "/home/omar"))))) This is good. Now you need to declare what services in addition to the base services you=E2=80=99d like to run. To do that, add a =E2=80=98services=E2=80=99 field in the =E2=80=98operatin= g-system=E2=80=99 declaration above (see ): (services (cons* (tor-service) (slim-service) %base-services)) =E2=80=98slim-service=E2=80=99 is called this way because it starts Xorg wi= th the SLiM login manager; see . HTH! Ludo=E2=80=99.