From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MKRxGeRmKV9pKwAA0tVLHw (envelope-from ) for ; Tue, 04 Aug 2020 13:47:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id MJtMFeRmKV9newAAB5/wlQ (envelope-from ) for ; Tue, 04 Aug 2020 13:47:16 +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 A5B799408E6 for ; Tue, 4 Aug 2020 13:47:15 +0000 (UTC) Received: from localhost ([::1]:60826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2xHe-0002hX-AT for larch@yhetil.org; Tue, 04 Aug 2020 09:47:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2x5R-0008PA-0W for help-guix@gnu.org; Tue, 04 Aug 2020 09:34:37 -0400 Received: from mout.web.de ([217.72.192.78]:42117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2x5P-0008HD-1H for help-guix@gnu.org; Tue, 04 Aug 2020 09:34:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1596548069; bh=pGBCBmuFvmKt+3c2t9MzvDItnA9Rwh0tN/XTDuWW/TM=; h=X-UI-Sender-Class:From:To:Subject:Date; b=fyubTGf4q5skyojEDMeP+nII/Q1LLBJWXdChiVmRNIah4hIp1avEIezj5k7PhLaG0 f89+NqUhELCRqi3rFn7F0cEIEIIKAL0Ih0ohYiBN6PqBQEV702FiVCct9sB2t5PwAR CpjzdjE8v3FoGjE+tImdXo+swrzwxo4cZgEJa59A= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from klingenberg-tablet ([95.222.215.173]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MSaZk-1kCkgy44lI-00RagO for ; Tue, 04 Aug 2020 15:34:29 +0200 User-agent: mu4e 1.4.12; emacs 27.0.91 From: dario To: help-guix@gnu.org Subject: Setting environment variables for nix service Date: Tue, 04 Aug 2020 15:34:16 +0200 Message-ID: <87wo2ezg9z.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Provags-ID: V03:K1:xCZjGX0J7tzGigF8N4UlD9dhs/NnsARWKe5WDPXNSAb32YiiTL+ pbCTbQayG7ETGVes87IZ46u+1Fh7XP8L1l5pOV9fg/n80dTVttev5XbpW0A693LHmwDiWpF XzQkCPEjiZqAmABwRg/YgP+D8uKnBxmwoYYdtUhLTkrGMT/Wfd8QFreypeYndhrctZaCKnD nR64RmK5DFYurywhKYW9w== X-UI-Out-Filterresults: notjunk:1;V03:K0:QKtaYQEmg3Q=:fCk2DrT2r/GjXVP7VRaAOd DEcq32U4eWUnDNLbvZaMFHWHg48JuA1nqvm7xp1DINo0wu9YTl0d6Q05DxNV7rHctwZqqgx5y KNnmUD++lL0SsIBQjgWg1UJvIV02Bwxl/8Q4WDKhfzyB9DgrqYhfmL8jUZ2cJlY/oHVoIpkr3 S4XDWtDfuOfH0g9OB6LMBFWzKljpvIOH6dHeHd+gPeQDLsAJQynYlQnxLMR8c3e6JkNPQ1yxb Q6cogxxrTsbHOr788UeLi6unqOpIwf64453jpKaha0tbNwDMP7egnkhqDsDseZW3gRNLuR8p2 Um+DEOOxc7uEeAGCwhvF+F/yjz2Z2wC/CKmzC9XqXa+mHa/iAQ5rZhIqc0J21/dyq2oJ3Ft88 8Pb3GbJ5ifG/J0usqZkNh26L/byza4Z7cfBLnYPbMkVL5wIbqnoIJr5aNvCFSXdyV15+PQTvc 2kw6wf/QLmKKzEsRW8UnMxmN/0v/ZX/OwDUUm1mI5vJe8UE4zooFCLFvNWO00E9B/pLGe+tT9 uEWhURT5uTZeZ+e++QhCJ2rAbanbki9iSLvphdFSB8lslwTHR3md+FjDwQibkucvK7LLAi0Nc XyHaLeEpnnwBeIOufXTs0++7nLLIzE37eYVtjMtbocclcbJXNsea8diCKwCqZmFSut5H1+dK8 ZZn2kmt2yvoHmfuoqbLlWge4Xj9wWxC/SKuyK8g7WXvd+0VZobQBBvYFIaT9hb6J8hBIZGiYH vCtDWEqYCNZGCMvijBWu+kr9KqYlJTcxutf2ZzxxwIolzRbh758vDlGnpv6vwaX5YUgODvY6c JiLxZKwR4kXjg5Mwu/DGAS1bbmG8K0FVkp17E9e/a3lYafzypANrewJ1XAs4eZcuUP1nL5MZS D/jdgkPVkwwXyaghgUcQGkK0tIW9+24OqQ0PIHviIzuD2SdxitIQVEY4p6kzrxwIV0KYUm6iD h/gWPBpA4Jcswl224WrhiRyHgucbFkGQsr2VZ2BS4GS+5BaGHFRITgilj78eLYfkg2HU5P2fn s2BjPCP5OYdlPkdkHHQsXoO0+tQR6DSOMbbfFig9FcpdAvS2V6TTimbQleZvu3/0iX2Ztf/xF +DBy5JqmNPsHA+LHYYkhMT/wScbNBnLtESkKlWHI3zFItdTgPQNFl2QnZwbdG3+6fogzLaVkd YkGLXhQ0/ND9Bq5RsKTP9/ujglSUeKNgKq4RGmQtdh6W7p6bj1w6KhZDAGfrXhz7swkCuGqIF Nt9aUKmQmgIBrUfCyBRrNJMvLqupANgLJf4Ohig== Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.72.192.78; envelope-from=dario.klingenberg@web.de; helo=mout.web.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/04 09:34:29 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -37 X-Spam_score: -3.8 X-Spam_bar: --- X-Spam_report: (-3.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 04 Aug 2020 09:46:41 -0400 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=web.de header.s=dbaedf251592 header.b=fyubTGf4; 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-Spam-Score: 4.79 X-TUID: pPxrZNTsmyAn 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