From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Tip of the day: storing your GuixSD config in the instantiated system Date: Tue, 29 Aug 2017 12:13:16 +0200 Message-ID: <8760d6hebn.fsf@elephly.net> References: <871snzfl4s.fsf@gnu.org> <87a82mp2jq.fsf@gmail.com> <877exngapp.fsf@gnu.org> <87h8wrljxm.fsf@gmail.com> 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]:35604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmdWR-0001nJ-Ax for help-guix@gnu.org; Tue, 29 Aug 2017 06:13:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmdWN-0006TN-8W for help-guix@gnu.org; Tue, 29 Aug 2017 06:13:27 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21004) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dmdWN-0006TJ-1q for help-guix@gnu.org; Tue, 29 Aug 2017 06:13:23 -0400 In-reply-to: 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: Peter Mikkelsen Cc: Alex Kost , help-guix Peter Mikkelsen writes: > If this becomes default, would it make sense for 'guix system reconfigure' > to be able to run without a configuration file and just use the > default? I don’t think we should do this. The copy of the configuration file used to build the system is a read-only copy in the store. It gets copied to /etc/config.scm on boot along with many other files from the system profile’s “etc” directory. On a reboot any changes to the file are lost again. It is clearer to let the user specify the configuration file than to default to /etc/config.scm, which wouldn’t even be under version control (which is what we recommend). -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net