unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: dario <dario.klingenberg@web.de>
To: help-guix@gnu.org
Subject: Setting environment variables for nix service
Date: Tue, 04 Aug 2020 15:34:16 +0200	[thread overview]
Message-ID: <87wo2ezg9z.fsf@web.de> (raw)

Hello,


I am a bit confused about how to correctly set up the nix service.
Following the steps in
http://guix.gnu.org/manual/en/guix.html#index-Nix
, the last step is to run

source /run/current-system/profile/etc/profile.d/nix.sh

which takes care about setting the environment variables
correctly. I am
trying to run this command should be run automatically at login.
Two
questions:

1. What is the proper way to do this? I am using gdm and exwm, and
adding the line to any of ~/.profile, ~/.xprofile, ~/.zprofile, or
~/.bash_profile does not seem to have any effect in exwm.

2. Couldn't the nix service take care of this automatically? I'd
be
happy to contribute a corresponding path once I have the answer to
my
first question.


Best regards,

Dario


             reply	other threads:[~2020-08-04 13:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-04 13:34 dario [this message]
2020-08-05 14:08 ` Setting environment variables for nix service Oleg Pykhalov
2020-08-06 15:47   ` dario
2020-08-08 15:09     ` Setting environment variables for nix service [SOLVED] dario

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=87wo2ezg9z.fsf@web.de \
    --to=dario.klingenberg@web.de \
    --cc=help-guix@gnu.org \
    /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).