From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Package variation Date: Tue, 23 Oct 2018 10:33:02 +0300 Message-ID: <20181023073302.GG1102@macbook41> References: <87pnw1p34m.fsf@posteo.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="7uYPyRQQ5N0D02nI" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gErBd-0007hr-9h for guix-devel@gnu.org; Tue, 23 Oct 2018 03:33:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gErBa-0003OP-1V for guix-devel@gnu.org; Tue, 23 Oct 2018 03:33:09 -0400 Received: from flashner.co.il ([178.62.234.194]:37560) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gErBZ-0003Mm-K7 for guix-devel@gnu.org; Tue, 23 Oct 2018 03:33:05 -0400 Content-Disposition: inline In-Reply-To: <87pnw1p34m.fsf@posteo.net> 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" To: Brett Gilio Cc: Guix-devel --7uYPyRQQ5N0D02nI Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 23, 2018 at 01:51:21AM -0500, Brett Gilio wrote: > Hi all, >=20 > I am trying to customize my the default gnome-package which gets > installed with the gnome-desktop-service. >=20 > My strategy here has been to define a gnome-custom package in my > config.scm which inherits the gnome package, and remove the dependencies > that I do not use (such as gedit or nautilus). >=20 > However, I am not successful. Below is my config.scm, does anybody have > any ideas? >=20 > -- >=20 > ;; This is an operating system configuration template > ;; for a "desktop" setup with GNOME and Xfce where the > ;; root partition is encrypted with LUKS. >=20 > (use-modules (gnu) (gnu system nss) (guix packages)) > (use-service-modules desktop) > (use-package-modules certs gnome) >=20 > (define-public gnome-custom > (package (inherit gnome) > (name "gnome-custom") > (inputs (alist-delete "nautilus" (package-inputs gnome))))) >=20 > (define %my-gnome > (modify-services %desktop-services > (gnome-desktop-service-type config =3D> > (gnome-desktop-configuration > (gnome-package gnome-custom))))) >=20 >=20 > ;; Add GNOME and/or Xfce---we can choose at the log-in > ;; screen with F1. Use the "desktop" services, which > ;; include the X11 log-in service, networking with > ;; NetworkManager, and more. > (services (cons* (gnome-desktop-service) > %my-gnome)) Here you still have the default gnome-desktop-service in the list, and I'd assume you'd have a 50-50 chance of getting the right one when logging in. I would change it to (untested!): (services (cons* (service gnome-desktop-service-type config =3D> (gnome-desktop-configuration (inherit config) (gnome-package gnome-custom))) %desktop-services)) and just remove %my-gnome from above. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --7uYPyRQQ5N0D02nI Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlvOzqoACgkQQarn3Mo9 g1GApRAAjOhlAq7PFvDnRK2chdhcNAsrTVbz0cW0xmsgWEJiE5lgIQSVvCBTlHyP sfaIdFbRkmvWl5Ecq6npn2FnC223Iq8Cv39dxLspivumplMZQYUbRRoTXc8LqSWW WR6WYLZDcUAzbHDiYBNZ5SPmNy7C3VQ2J6QxofkYYcVjRBa45WvehLINvjeNSpCi mt6+LAdhQZpzNK5csZY3ZJe26oy++RIqGo7/n/4SGv7a2uoDlpdUloEmUeTMty5F oDvJ7f3MjiJpEHv42CshsC2bw+ke6G4ghH4xzhAijSZwkb4U14aL+1DOVF+LGdbi inuU6gOk9ZKeIzwTVjCuz4/pE3W03ERNctPrHjvot7IGl2K5X4PkMWNFatqkdh0b Iv2yMVjC44rs7jVBssTQ7ubBj2HAFUUi8pCGmw3ngwD+QJ3Rpk8RZjVfDMyYZkpY 9EycOadMOhlHlj7OEKE3NRW77zqSApF/LIfE6hDyOJTRW6vzTc9mXg0H0iWeNIR7 Sfb+FS+4AUY6Hdalmor3eYm51KAqCM0/hC3GZnyV+NsMqkPDmpck9XewZznzBN0A ypC3X0B6hoQEHPO6Rc7CyBskkQroeIWZ+GWBXAPatzhIU5L44kX03M8D3X+a9nLk ra4uLnAidw3rCZzR/6z5dSZo18e5b/KSsNElD1jYQKPD9yWPj4w= =73MQ -----END PGP SIGNATURE----- --7uYPyRQQ5N0D02nI--