From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jimmy Thrasibule Subject: Automated system upgrade Date: Mon, 3 Feb 2020 13:36:37 +0100 Message-ID: Reply-To: jimmy@thrasibule.mx Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55755) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyayA-0003tE-UO for help-guix@gnu.org; Mon, 03 Feb 2020 07:36:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyayA-0004sw-1b for help-guix@gnu.org; Mon, 03 Feb 2020 07:36:50 -0500 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:55954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyay9-0004rq-PR for help-guix@gnu.org; Mon, 03 Feb 2020 07:36:49 -0500 Received: by mail-wm1-x32e.google.com with SMTP id q9so15688619wmj.5 for ; Mon, 03 Feb 2020 04:36:49 -0800 (PST) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane-mx.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Hi, I would like to know about the best way one would automate a Guix system reconfiguration. The idea is to put the system configuration stanza into a Git repository and then having the systems regularly pull from this repository and reconfigure. The way I see it so far would take the following steps: 1. Create a Guix package with all the system configuration (the package can call guix system reconfigure after install). 2. Create a Guix pull channel. 3. Have the system automatically pulling the latest revision. (??) 4. Repeat. Does this plan is looking sane to you and how can I regularly pull the system's repository? Maybe using a service or a cron job? Regards, Jimmy