From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:e8e3::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8PAiONaOWGEvYwEAgWs5BA (envelope-from ) for ; Sat, 02 Oct 2021 18:54:46 +0200 Received: from aspmx2.migadu.com ([2001:41d0:2:e8e3::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kHiqM9aOWGGdKgAAB5/wlQ (envelope-from ) for ; Sat, 02 Oct 2021 16:54:46 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 78A5B53623 for ; Sat, 2 Oct 2021 16:54:46 +0000 (UTC) Received: from localhost ([::1]:44688 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWi1g-00014B-2y for larch@yhetil.org; Sat, 02 Oct 2021 12:38:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWi1S-0000zg-QC for guix-patches@gnu.org; Sat, 02 Oct 2021 12:38:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48848) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWi1S-0001Gl-H8 for guix-patches@gnu.org; Sat, 02 Oct 2021 12:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWi1S-0008Cx-Ef for guix-patches@gnu.org; Sat, 02 Oct 2021 12:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50973] [PATCH 00/14] (gnu home services), file-like objects, guix home import documentation Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Oct 2021 16:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50973 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50973@debbugs.gnu.org Cc: Oleg Pykhalov , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Xinglu Chen , 50967-done@debbugs.gnu.org, Andrew Tropin X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163319267131531 (code B ref -1); Sat, 02 Oct 2021 16:38:02 +0000 Received: (at submit) by debbugs.gnu.org; 2 Oct 2021 16:37:51 +0000 Received: from localhost ([127.0.0.1]:60394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWi1H-0008CV-Bd for submit@debbugs.gnu.org; Sat, 02 Oct 2021 12:37:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:47586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWi1F-0008CG-Jt for submit@debbugs.gnu.org; Sat, 02 Oct 2021 12:37:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWi1E-0000hZ-My for guix-patches@gnu.org; Sat, 02 Oct 2021 12:37:49 -0400 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]:40601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWi1B-0000yV-5V; Sat, 02 Oct 2021 12:37:47 -0400 Received: by mail-lf1-x12d.google.com with SMTP id y23so16741633lfj.7; Sat, 02 Oct 2021 09:37:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5lk2K1SzXSvpM7kFP7zu0Cl+ecXzjqTAEiUolCSxWEg=; b=ol/oOPsRX9jLQsu6l/LHPXbtboQpZAevj9QMW27DHUIK5nbdFg5UrjEwDXLhyVlfhT v88xuZVit/Sd++nvsNe71GTtA5HHlZMOHiO5TPAobAtMjFVZ3DiXukptSBsLECd4KB5T PAHMH4iUu5y7hQMNUZypmIq/rCl3krx0PsnyEl4ITvRYCcu9UcbrEubMJWNVXIpEXiXI oKQX/dF0Uk3bWm3F4fNHwnFgv46w3fk7UrqYUwm+WKbRRIKECTipXBYUeoiPdjXBlWoX N9hS+v+4QnzrV5duIJj2itRaaA0a9kTq4bpPRJnfXf+BOXoPh7zgtLvSnxAXtCr8Z+fS hGlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5lk2K1SzXSvpM7kFP7zu0Cl+ecXzjqTAEiUolCSxWEg=; b=Lm6xRu40jxD/0hoI2OzqD0Uvcu2L/NxtmFMKE0xkmi17wfKzXSNaFUvksA6T0adqmL iNoYVQQxlu4UNiOuZ/1z5/ovZUJcGNtT0W1QWRR+MSq6FEAH+4Az3WH0J3G0BML4jylB opA9oy4PUy2711S5BSU3jPED4likklbN6s7GObwdQFMH5G/NJbY6aP2+Th69snQu+ltu VzmNstFiKdRC4YBOKVa+5j6G7OCMaveRkEpU5e+Z/oUDR9cXSFrC1/0OviaVHp4dVj4L T5mFq75Vrtpvyn34sGEeBwLjVPnLMhDX6ByFHGhAH0ksi601UhqCYe5t3rIVKATL61ng LY4g== X-Gm-Message-State: AOAM532yAbFYn5PBtxQQpIf+GNty4tB1977ofo7wqnLL6I5mTVfhFCx8 Pf/jS4RwjdNQM0RttrBRfLjMg9u4d7Q= X-Google-Smtp-Source: ABdhPJyn+hwpWtSADqNlDR7kWOi5hSWMDdEM5hk/gu32xcOjnSlr236K3Xr1iGWvm5/09Q/8gtqG0A== X-Received: by 2002:a2e:a54b:: with SMTP id e11mr4695608ljn.171.1633192661670; Sat, 02 Oct 2021 09:37:41 -0700 (PDT) Received: from localhost.localdomain ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id f16sm909242lfp.199.2021.10.02.09.37.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Oct 2021 09:37:41 -0700 (PDT) From: Oleg Pykhalov Date: Sat, 2 Oct 2021 19:37:16 +0300 Message-Id: <20211002163716.29226-1-go.wigust@gmail.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::12d; envelope-from=go.wigust@gmail.com; helo=mail-lf1-x12d.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633193686; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=5lk2K1SzXSvpM7kFP7zu0Cl+ecXzjqTAEiUolCSxWEg=; b=mhW31N8LMP0O/kR+L2xDETIUAB7h6pnkXRjX0BDRjIfGZQmCS3yCW6f2S1kRI/K7fpZEgT BeUeGRRLUa+4BvMDml38+Nw7t4gy3s+utkMF1iN653vKu28t0uDN2DINjUaqZeZa1jIsts AYncs92VRSJvrVXKcWuTTAnrrDD8NRfaNyqKMbRYYB2WHXraQq06R2DaKKD9EOFJfD3mZT QRTm4KpEJCOG3lm71TCCN0/wkPxmBtfymnPu0jpQYMFDnGtt1uJDPGCyR37pMcRV+j2lWi GwPJvm3uKrDd7eJLWofhVk6CrzODQQTXK0QGTK9mrH8MtDBN1MyC53SmBnJrRw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633193686; a=rsa-sha256; cv=none; b=EFk00Xkvr7Sg7xBmzJHvr5HoeyyWkeLyrFTitch5E2yypcewEjWilnaMVj3mFRr8b3FXK7 7nw8+XMKKm9wBPwrUey8fzYDIuhfkWAOUDT3g37lE6c4oqVxaFYCe9xyv+9jnXmArTUDks 6Wa5XDVjcGTeao5jciXPaz8JEZJeSlUUncctrzPUrBH5JhtepqVL1eR4Kad4oUzPXlkVVw FlrpUUOXgO3WXXifJwnivyGgvxzw9g97E56tcC7cleMr5KjPDWnFy32WEagCSCiN06lWM8 dGDMqfFCrxezzxhP8C/hIPwPkIM0X5vRsJyrQspVBGouFsETJxGnuLu0HIPE5w== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="ol/oOPsR"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.59 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="ol/oOPsR"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx2.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 78A5B53623 X-Spam-Score: 3.59 X-Migadu-Scanner: scn1.migadu.com X-TUID: pLwx2XdEp7Ma This patch series is a replacement for https://issues.guix.gnu.org/50967 * Moves every home service to (gnu home services). * Adds support for file-like objects in configuration.scm, e.g. the following will work now: (home-environment (services (list (service home-bash-service-type (home-bash-configuration (bashrc (list (local-file .bashrc)))))))) * Documents guix home import. Andrew Tropin (1): tests: Add tests for guix home cli. Oleg Pykhalov (13): gnu: home-services: Move configuration to (gnu home services). gnu: home-services: Move symlink-manager to (gnu home services). gnu: home-services: Move utils to (gnu home services). gnu: home-services: Move fontutils to (gnu services). gnu: home-services: Move shells to (gnu home services). gnu: home-services: Move xdg to (gnu home services). gnu: home-services: Move shepherd to (gnu home services). gnu: home-services: Move mcron to (gnu home services). scripts: home: (gnu home-services bash) -> (gnu home services bash). doc: (gnu home-services) -> (gnu home services). gnu: home-services: Update %service-type-path. home: services: configuration: Support file-like objects. doc: Document guix home import. Makefile.am | 1 + doc/guix.texi | 12 ++- doc/he-config-bare-bones.scm | 2 +- gnu/home-services.scm | 4 +- gnu/home.scm | 8 +- .../services}/configuration.scm | 16 ++- .../services}/fontutils.scm | 2 +- .../services}/mcron.scm | 4 +- .../services}/shells.scm | 6 +- .../services}/shepherd.scm | 2 +- .../services}/symlink-manager.scm | 2 +- .../services}/utils.scm | 2 +- gnu/{home-services => home/services}/xdg.scm | 6 +- gnu/local.mk | 16 +-- guix/scripts/home/import.scm | 10 +- tests/guix-home.sh | 99 +++++++++++++++++++ 16 files changed, 150 insertions(+), 42 deletions(-) rename gnu/{home-services => home/services}/configuration.scm (86%) rename gnu/{home-services => home/services}/fontutils.scm (98%) rename gnu/{home-services => home/services}/mcron.scm (98%) rename gnu/{home-services => home/services}/shells.scm (99%) rename gnu/{home-services => home/services}/shepherd.scm (99%) rename gnu/{home-services => home/services}/symlink-manager.scm (99%) rename gnu/{home-services => home/services}/utils.scm (98%) rename gnu/{home-services => home/services}/xdg.scm (99%) create mode 100644 tests/guix-home.sh base-commit: 159b94cfb526e8695ae159ae29edc608b7a29bef -- 2.33.0