From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: this conf doesnt work. Why ? Date: Mon, 19 Mar 2018 05:08:02 +0100 Message-ID: <87sh8wu2ql.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1exm5g-0005uM-6h for help-guix@gnu.org; Mon, 19 Mar 2018 00:08:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1exm5f-0004V6-1B for help-guix@gnu.org; Mon, 19 Mar 2018 00:08:08 -0400 Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]:42121) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1exm5e-0004Ur-RG for help-guix@gnu.org; Mon, 19 Mar 2018 00:08:06 -0400 Received: by mail-pg0-x22c.google.com with SMTP id o14so2199698pgv.9 for ; Sun, 18 Mar 2018 21:08:06 -0700 (PDT) In-Reply-To: (catonano@gmail.com's message of "Sat, 17 Mar 2018 21:46:38 +0100") 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: Catonano Cc: help-guix --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Catonano writes: > (define %my-services > (modify-services > (cons* (gnome-desktop-service) > (cons* > (service agetty-service-type > (agetty-configuration (tty "ttyS0"))) > %desktop-services)) > (slim-service-type config =3D> > (slim-configuration > (inherit config) > (startx (xorg-start-command > #:configuration-file > (xorg-configuration-file > ;; Setup X to use a swiss german keyboard layout. > #:extra-config > '("Section \"InputClass\" > Identifier \"keyboard-all\" > Option \"XkbLayout\" \"ch\" ; <~ replace \"ch\" with \"it\" > MatchIsKeyboard \"on\" > EndSection")))))))) This looks wrong to me. If this works, I think it's only by accident. Check out the docstring for modify-services in gnu/services.scm, which says: Modify the services listed in SERVICES according to CLAUSES and return the resulting list of services. Each clause must have the form: (TYPE VARIABLE =3D> BODY) So, every clause after modify-services needs to have that form. This may also be the reason why the length of your %my-services is the same as %desktop-services. I think maybe the gnome-desktop-service and the agetty-service-type service you've created are just being ignored somehow. Does this make sense? =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlqvN6MACgkQ3UCaFdgi Rp3KEg//Q5zB/cC3LnytQrOVBsioIsZL1SEylzYCxdjjhgGoP4tMnL7HtSK3EyKU hWi19Hue0hXhU+1/TxY33sw5BCUnFrCFixkTjHCEif3zaxdJRMOiZ91cKUWNnRXI zXbpGGm+Qqh9yeZZKmo3AX8hI6GYp2E3e+LMx/F/hnVXxl5/D51Fu7CxbXjYpqe2 BdbtLjXdqaFQmGR5/Pgyo9wE5gwfeVitG2kmW6D/D/+M19HBpHYQpBA1D0SyAsQ5 i3jvNP0Da4n8gZmH8Vejoxfmz1pCt3f4HMerHecakyDeJgTmgD1sZSyfQtrB0KTY vf4XbWsMu+9hFNcm/CfaO5nS8uHTEBlS/V2zjcKIGy/mOBl0nAxjSFQvd0zbm8NP +MFyc95WxbUAmJkLMCPdikjyLJ4/LSN8w4ygTHiWRpPss05g5IK/7ddrH1ygRgn5 TGmI7UTEyn+hoXid8I6347/060r6rre6uhJiUi1epaTmlD0uJv+h9+qQFFB9nlcn dK75vUj4/lUqryTPqSw4tCSjWOrCaDkXJYosGeNmFRU+uBynQnlernUXPfwMuckz T7huari2KCEC/kkkP3Oio03kDlFG+dj8wwlUvAr1uQW0vV7AOMRxL+d7aLNyael7 0mhXUivG6ILAtGrA/Rbo3zh/qO51rqakE9wIhC9nK58qXVlGfvw= =dYDt -----END PGP SIGNATURE----- --=-=-=--