unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Setting environment variables for nix service
@ 2020-08-04 13:34 dario
  2020-08-05 14:08 ` Oleg Pykhalov
  0 siblings, 1 reply; 4+ messages in thread
From: dario @ 2020-08-04 13:34 UTC (permalink / raw)
  To: help-guix

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-08 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 13:34 Setting environment variables for nix service dario
2020-08-05 14:08 ` Oleg Pykhalov
2020-08-06 15:47   ` dario
2020-08-08 15:09     ` Setting environment variables for nix service [SOLVED] dario

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).