From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Tip of the day: storing your GuixSD config in the instantiated system Date: Wed, 30 Aug 2017 18:07:43 +0200 Message-ID: <20170830160743.GB2313@jurong> References: <871snzfl4s.fsf@gnu.org> <20170829103019.GA1516@jurong> <87efruov10.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dn5Wz-0000Gu-VS for help-guix@gnu.org; Wed, 30 Aug 2017 12:07:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dn5Ww-0001da-0M for help-guix@gnu.org; Wed, 30 Aug 2017 12:07:53 -0400 Received: from mailrelay3-3.pub.mailoutpod1-cph3.one.com ([46.30.212.12]:42770) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dn5Wv-0001bk-Nl for help-guix@gnu.org; Wed, 30 Aug 2017 12:07:49 -0400 Content-Disposition: inline In-Reply-To: <87efruov10.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Ludovic =?iso-8859-15?Q?Court=E8s?= Cc: help-guix On Wed, Aug 30, 2017 at 12:42:51AM +0200, Ludovic Courtès wrote: > Andreas Enge skribis: > This wouldn’t be possible, at least not this easily, because the trick > requires the config file name, and that means it’d typically need to be > a macro used within the config file, like: Okay, no problem; then I would suggest to simply add it to the templates. If the file name poses problems as pointed out by Ricardo, a different choice would work as well. /etc/current-config.scm? Anything, actually. Thanks! Andreas