From: Lo Peter <peterloleungyau@gmail.com>
To: Tobias Geerinckx-Rice <me@tobias.gr>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: How to set global environment variables in Guix System
Date: Mon, 28 Dec 2020 00:22:39 +0800 [thread overview]
Message-ID: <CAEM+zmjmfX5kwvoR-+tipXjSDktVm1CM4xaSgLa5se41BCFK1g@mail.gmail.com> (raw)
In-Reply-To: <87v9cnqpn3.fsf@nckx>
Thanks both for the replies.
If I understand correctly, custom environment variables could be added
through some kind of session-environment-service-type, I will try it
out to learn more.
Just for the record, I currently use a custom ~/.xsession script as a
hack to source ~/.xprofile to set the needed environment variables and
also start ibus-daemon, because I really only need i3 (and xfce as a
fallback).
Thanks.
Regards,
Peter
On Sun, Dec 27, 2020 at 10:39 PM Tobias Geerinckx-Rice <me@tobias.gr> wrote:
>
> Michael Rohleder 写道:
> > (simple-service 'my-ibus-ch-env session-environment-service-type
> > '(("GTK_IM_MODULE" . "ibus")
> > ("QT_IM_MODULE" . "ibus")))
>
> ...much simpler. Thanks!
>
> Kind regards,
>
> T G-R
next prev parent reply other threads:[~2020-12-27 16:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-27 13:35 How to set global environment variables in Guix System Lo Peter
2020-12-27 14:07 ` Michael Rohleder
2020-12-27 14:39 ` Tobias Geerinckx-Rice via
2020-12-27 16:22 ` Lo Peter [this message]
2020-12-27 14:39 ` Tobias Geerinckx-Rice
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAEM+zmjmfX5kwvoR-+tipXjSDktVm1CM4xaSgLa5se41BCFK1g@mail.gmail.com \
--to=peterloleungyau@gmail.com \
--cc=help-guix@gnu.org \
--cc=me@tobias.gr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).