From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sAhfKUeV6F8OIwAA0tVLHw (envelope-from ) for ; Sun, 27 Dec 2020 14:08:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id kFFJJUeV6F9uHAAA1q6Kng (envelope-from ) for ; Sun, 27 Dec 2020 14:08:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3044A940484 for ; Sun, 27 Dec 2020 14:08:07 +0000 (UTC) Received: from localhost ([::1]:46984 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktWiK-0003Pa-HQ for larch@yhetil.org; Sun, 27 Dec 2020 09:08:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50994) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktWiD-0003PT-1g for help-guix@gnu.org; Sun, 27 Dec 2020 09:07:57 -0500 Received: from wp224.webpack.hosteurope.de ([2a01:488:42:1000:50ed:84e7::]:53848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktWi8-0001gn-Mm for help-guix@gnu.org; Sun, 27 Dec 2020 09:07:56 -0500 Received: from www.rohleder.de ([37.61.204.227]); authenticated by wp224.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1ktWi4-0004by-RA; Sun, 27 Dec 2020 15:07:48 +0100 Received: from [192.168.1.3] (helo=micha) by www.rohleder.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1ktWi2-0002N3-ES; Sun, 27 Dec 2020 15:07:48 +0100 From: Michael Rohleder To: Lo Peter Subject: Re: How to set global environment variables in Guix System References: Date: Sun, 27 Dec 2020 15:07:41 +0100 In-Reply-To: (Lo Peter's message of "Sun, 27 Dec 2020 21:35:02 +0800") Message-ID: <87sg7r2vgy.fsf@rohleder.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-bounce-key: webpack.hosteurope.de;mike@rohleder.de;1609078072;c19ee2f6; X-HE-SMSGID: 1ktWi4-0004by-RA Received-SPF: permerror client-ip=2a01:488:42:1000:50ed:84e7::; envelope-from=mike@rohleder.de; helo=wp224.webpack.hosteurope.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 3044A940484 X-Spam-Score: -4.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: +cugc7kB7RF5 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Lo Peter writes: > Any help is greatly appreciated. Also, I think a way to let user > customize /etc/environment through the system config will be useful, > but I do not find a way to do so. Try adding something like this to your system services: (simple-service 'my-ibus-ch-env session-environment-service-type '(("GTK_IM_MODULE" . "ibus") ("QT_IM_MODULE" . "ibus"))) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =2D-=20 Das Lernen vieler Dinge lehrt nicht Verst=C3=A4ndnis. Heraklit, B40 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFFBAEBCAAvFiEEdV4t5dDVhcUueCgwfHr/vv7yyyUFAl/olS0RHG1pa2VAcm9o bGVkZXIuZGUACgkQfHr/vv7yyyXQ3wgAsvLnPZXTt+n+bN4xrwyRIRL5HkQNWvQK A4L9d/+5fZLtRMH1nFBbZbeIjGSGgYCVLEMYAPILM0SMuvXcPcJyHSPtejWgCqeC Rk7iI+s9WSIfvwE6ON6k6vWkaMl3SWJZkJ00l+i69fsd3hqcMMeR8vAH1aBIreeK PxtADvRsoQbWw8E9P5cqOMQJoMKz/qhqpzTR9lChGo8vkaXqoarThfWswtWmGB2v 73fSEtI8AQdQb8Pt9LooW9NDzRj5LIOYTOlI1Xxe+mRQn2dauMtk4E460LtJjmup ygdrL+w0WDFHOiaf04iUKCBAyHT38MUq64nfS6XU9p9yR/8QtKicRQ== =Y3oi -----END PGP SIGNATURE----- --=-=-=--