From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Re: Extending the mysql configuration Date: Thu, 20 Apr 2017 11:07:17 +0200 Message-ID: References: <6f7313e5-cbb8-abcb-aa25-795e0a697c6c@cbaines.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d183o-0002XE-50 for guix-devel@gnu.org; Thu, 20 Apr 2017 05:07:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d183j-0003mF-6I for guix-devel@gnu.org; Thu, 20 Apr 2017 05:07:32 -0400 Received: from pb-sasl2.pobox.com ([64.147.108.67]:57544 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d183i-0003lr-V4 for guix-devel@gnu.org; Thu, 20 Apr 2017 05:07:27 -0400 In-Reply-To: <6f7313e5-cbb8-abcb-aa25-795e0a697c6c@cbaines.net> (Christopher Baines's message of "Wed, 19 Apr 2017 18:45:08 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Christopher Baines Cc: guix-devel@gnu.org On Wed 19 Apr 2017 19:45, Christopher Baines writes: > I also spotted the define-configuration syntax, which looks like it > might work well, but I wanted to check if this was definitely a > direction more services were heading before attempting to write out a > large part of the supported configuration options. MHO is this is the direction we should go in. Having a configuration defined in a data type that Guix can understand makes it easier to operate on the system as a whole -- the system can see your mysql configuration and introspect on it, it's easy to define extension points, etc. There are a few services that use this approach and I expect the number to grow over time. At the same time many of these services have the option to fall back on an opaque configuration when you have special needs or a different workflow -- see dovecot for a very long example. Andy