From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id VkgIOTRfXmDkZAAAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 23:24:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sFEIMjRfXmAHPQAA1q6Kng (envelope-from ) for ; Fri, 26 Mar 2021 22:24:52 +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 D59AF11C71 for ; Fri, 26 Mar 2021 23:24:51 +0100 (CET) Received: from localhost ([::1]:56276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPusr-0007WZ-GJ for larch@yhetil.org; Fri, 26 Mar 2021 18:24:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPuCw-0003fc-O1 for help-guix@gnu.org; Fri, 26 Mar 2021 17:41:33 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]:51974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPuCu-0001lP-0P for help-guix@gnu.org; Fri, 26 Mar 2021 17:41:29 -0400 Received: by mail-pj1-x102b.google.com with SMTP id s21so3196483pjq.1 for ; Fri, 26 Mar 2021 14:41:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:mime-version :content-disposition:in-reply-to; bh=n3/YP9hIcxIIJ2Nf2yUtNKbOBKv+XbniLBMP+hPys1o=; b=FQMP84sWdQjVo9XWw8bp9SGYt3eworEnAbgcC53eCWx4PgFyRDEdUUoIPe/IXB1GI8 yXpcOY1q1rdSpGB6nKl97Lkme7mwCIOaCs/Psde66SQHiWxBFC63VGbi2+nu0Yza11g8 Vx9fmX++bcmpa5CetoCzHqRqz3iviTqRqMC9fvT6j6dFz7m5GEXMkeBF2LjDtsTo8d9u rocqlvXWdAcM0WDdJYGeVYi+5c/gw3jFIEId/VXEqeLCJu3tyWkeMQ5oIxxaO0RmRDEe JhRLOwu3z6isthpazehGqgvnCQh7qzhLs96qvKRTPQpBxSJaAjK1r2RQhL9r8Urwd8SA MA7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:mime-version:content-disposition:in-reply-to; bh=n3/YP9hIcxIIJ2Nf2yUtNKbOBKv+XbniLBMP+hPys1o=; b=AQreYYXKkV3mdHzuUGuqR35TcuH3h/kQWn3KT2VmPqwcQo6KHONM+MpdrUV8dJBtnq 2ZYZd2qEBMc8s5RUftl4mNOn0/wvjDlDsQ5RQM2v4MyxA7c2D5nRWgiSzLUTENXHkZaB yftqWLFyDqkNle71Z4tQmqs9RkdFSeFtTz+Jbvn2H2Swe7efgB22zdq5rxf6veEkhcKi bL3f2ziTYQeSD2+vd9OqqOVRSoXelODdDH18kPrEJzJxb6JMld0OkQwR8sYPgbq44TgB 2w7YpVeqc8ZnCX0WtF4fgMw2uyOl3oQmbNTAs5WiEKmlvoh99lLGFF2yltfZeyH1SskH JYDg== X-Gm-Message-State: AOAM533xwA4wvbiKaCoPiQshtyECH7SngLHWgVI3/fjuXHq7FeEe7OZj Oj2NMVJloSlbdetarpUEMZ4Cd6oo3lg= X-Google-Smtp-Source: ABdhPJyHNbEUUy8QVFgIUoMDBBT3JKiHW0N4Y5KO0jbuhL5732aiOykGN2NzNp532ar65p1yE2bokA== X-Received: by 2002:a17:90a:e516:: with SMTP id t22mr15588001pjy.39.1616794885929; Fri, 26 Mar 2021 14:41:25 -0700 (PDT) Received: from home-guest ([61.6.230.244]) by smtp.gmail.com with ESMTPSA id q15sm11113543pje.28.2021.03.26.14.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Mar 2021 14:41:25 -0700 (PDT) Date: Sat, 27 Mar 2021 05:41:21 +0800 From: Tim Lee To: ilmu@rishi.is Subject: Re: Something like nixos-infect? Message-ID: <20210326214121.regyf23t7fjhfbrr@home-guest> Mail-Followup-To: ilmu@rishi.is, help-guix@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=progscriptclone@gmail.com; helo=mail-pj1-x102b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 26 Mar 2021 18:24:39 -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: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616797492; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=n3/YP9hIcxIIJ2Nf2yUtNKbOBKv+XbniLBMP+hPys1o=; b=iTt/sLDuGZuGLVEnnGF8VZ9W6GmsocDoqaVITgGvE/XdcY/qpyE4C6XW6Jq7dKjIyiNSzw TSbok1/aa/ShFn9Rhrod+4pV8IW2x6EGIM/Unaralj4AwhLUyJC4W37vgCMY8IDSdGCXAn 0CnYl7R9P97LKUI87+6JLqZZRatFmRZpV351JbftUmqwK1DGF1agsgRLSOfRWA+zxP9TiR 4+cA3vTz/0POSq8u6/bbKyuGZ4k+4QVakw/ljx0m/qDhVq7ocABb8n5PCol/ZfeoYeHFul rHMriyTF18kOOYwL3v4O0rvcQh4Cj80wsn2LA/MtZQ29gQVA9aj66+s5jj+/ow== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616797492; a=rsa-sha256; cv=none; b=mZkACP1aT1QIIkCZLnvHCPPL5+aLJ4AmsJZEq3kfGp6rGhY2ytmhauGsmy3qGCBB+i9SjC HII6pKdgT2aSONaraJvoyyqNdZIGivFHCKGk2gC77lzZm7ONKOnlAeY1/d9gY3i582pxsE MOf24B4Igw8UnQtjSBoNZDG5lTAPRMfoWYUxJ6N/wBihrsd0UmCgDnVP+ibaNITawth5Kz uMnV4IJDSSESbFK5yKuq6NHWF479TbddtcSLKkeL4pdiWucwS+1eFWRXJ9LNAfBHoAKAQ4 CZMu3oIb2LEczrEhnoqyrMcbdkzN84ukks3PASFFK2ZReeZwn6H4vUClT5VReA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FQMP84sW; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Spam-Score: -1.62 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=FQMP84sW; dmarc=pass (policy=none) header.from=gmail.com; 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-Migadu-Queue-Id: D59AF11C71 X-Spam-Score: -1.62 X-Migadu-Scanner: scn0.migadu.com X-TUID: pACEfcixfh8s > Something like nixos-infect? It looks like there is something named "guix-infect": https://github.com/guix-mirror/guix/blob/v1.2.0/gnu/machine/digital-ocean.scm#L191 Perhaps the blog article about 'guix deploy' would help you: https://guix.gnu.org/blog/2019/managing-servers-with-gnu-guix-a-tutorial/ I think nix-infect will become less relevant in the future because nixos-generators (https://github.com/nix-community/nixos-generators) is able to generate custom images for many cloud service providers. Instead of overwriting an exiting system with NixOS, the custom images boot directly into NixOS. It seems that something like nixos-generators is possible in Guix: * "Hosting a blog using only Scheme" (https://othacehe.org/hosting-a-blog-using-only-scheme.html) * "Re: Easy DigitalOcean setup?" (https://lists.gnu.org/archive/html/help-guix/2020-11/msg00053.html) See the attached do-conf.scm file in that reply. It seems that Guix suffers from the lack of documentation in this area (installing and deploying on the cloud).