help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to set global environment variables in Guix System


From: Michael Rohleder
Subject: Re: How to set global environment variables in Guix System
Date: Sun, 27 Dec 2020 15:07:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Lo Peter <peterloleungyau@gmail.com> 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")))
                    
-- 
Das Lernen vieler Dinge lehrt nicht Verständnis.
     Heraklit, B40

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]