From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <guix-patches-bounces+larch=yhetil.org@gnu.org>
Received: from mp11.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id cCd5HMLONWM1agAAbAwnHQ
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 29 Sep 2022 18:58:42 +0200
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp11.migadu.com with LMTPS
	id sPpbHMLONWNEIwAA9RJhRA
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 29 Sep 2022 18:58:42 +0200
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 0E6EABF75
	for <larch@yhetil.org>; Thu, 29 Sep 2022 18:58:42 +0200 (CEST)
Received: from localhost ([::1]:53106 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <guix-patches-bounces+larch=yhetil.org@gnu.org>)
	id 1odwrx-0002ZZ-3L
	for larch@yhetil.org; Thu, 29 Sep 2022 12:58:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36348)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1oduet-0005j7-Kv
 for guix-patches@gnu.org; Thu, 29 Sep 2022 10:37:03 -0400
Received: from debbugs.gnu.org ([209.51.188.43]:40146)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>)
 id 1oduet-0006iH-By
 for guix-patches@gnu.org; Thu, 29 Sep 2022 10:37:03 -0400
Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2)
 (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1odues-0007G3-6m
 for guix-patches@gnu.org; Thu, 29 Sep 2022 10:37:02 -0400
X-Loop: help-debbugs@gnu.org
Subject: [bug#57963] [PATCH v4 1/2] home-services: Add base.
References: <20220921002721.23511-1-higashi@taiju.info>
In-Reply-To: <20220921002721.23511-1-higashi@taiju.info>
Resent-From: Taiju HIGASHI <higashi@taiju.info>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
Resent-CC: guix-patches@gnu.org
Resent-Date: Thu, 29 Sep 2022 14:37:02 +0000
Resent-Message-ID: <handler.57963.B57963.166446221027866@debbugs.gnu.org>
Resent-Sender: help-debbugs@gnu.org
X-GNU-PR-Message: followup 57963
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 57963@debbugs.gnu.org
Cc: ludo@gnu.org, Taiju HIGASHI <higashi@taiju.info>, liliana.prikler@gmail.com,
 andrew@trop.in
Received: via spool by 57963-submit@debbugs.gnu.org id=B57963.166446221027866
 (code B ref 57963); Thu, 29 Sep 2022 14:37:02 +0000
Received: (at 57963) by debbugs.gnu.org; 29 Sep 2022 14:36:50 +0000
Received: from localhost ([127.0.0.1]:39220 helo=debbugs.gnu.org)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
 id 1oduef-0007FO-MF
 for submit@debbugs.gnu.org; Thu, 29 Sep 2022 10:36:50 -0400
Received: from mail-pl1-f175.google.com ([209.85.214.175]:38763)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <higashi@taiju.info>) id 1odued-0007Ez-Em
 for 57963@debbugs.gnu.org; Thu, 29 Sep 2022 10:36:49 -0400
Received: by mail-pl1-f175.google.com with SMTP id x1so1436063plv.5
 for <57963@debbugs.gnu.org>; Thu, 29 Sep 2022 07:36:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=taiju-info.20210112.gappssmtp.com; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date;
 bh=XITzXonqwm/niBHUU86reo4a0pQs+lPKV0Fl71LUD84=;
 b=aFrfSpJV+leN1TldZ005w8iKn6tlIQINhQo3jSQ4mLU2g0adEXtR/QGH+5ZWfVTB3t
 Hn8NYPNVi7shu6IW/xDNhFJeg8ptRk5BMD7RRlST9dB/DCjFbZTO6XKFTk++mTDIGM+w
 ZULJbkkSb6Bm9qt2z/3Szj51+SaBOZqGrIqJ7isiDhFQx6FZ+jNnUHgCNX/+SCBdNGU8
 9UF0xXyETJc3V6RTXwv5nIG9MLoc3G4WZMkts1PyYN4nBAeSyVlNXmRYQhelJ1UVPbJ2
 +gzAALvGkmB7HevMiqYFs+TfSb9tXAeY2zdIkEazRBAnATvCFoEedH1gwn49ITWvzV29
 pCWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date;
 bh=XITzXonqwm/niBHUU86reo4a0pQs+lPKV0Fl71LUD84=;
 b=ia/JYVsEn9XHj2Aab9/KofJEMUrKCP2lSH5QNUPrBpwb5usWSqreqsHv012lDNaAqQ
 KSst4uBBtrdNeKCWHJMh5LGYPd7h2W2eWQRhefVHbSdKtLIXdhdSAlRnqbce8nD7SAI8
 8tVtmqk+qviEXNZHd1v5GfMCRuLevvUlXrKe2e0bPoqSJxxt6JL7WNkVJdUohs5UDKSI
 J/JTtqnwWvZ9iGv0GYEyEw2GKU0LkOTvC16KxSa9HlW6sKJ2N1GwnkbCujRow/BicQLN
 uabJiwrwET12hDjF5Ngzz6Whrd3Wyw5bkhVVFAOZ7cuYAsi0UOC5jid8Iwy4o4rbyk72
 UUTQ==
X-Gm-Message-State: ACrzQf2BxwXQDZLA/Rg9v+zLdhbAiAovutXObr9d1u4VIqQfW96iOKUz
 JrsMsNTPR/F0xK37CqtR5tAhVuGON+rertD5
X-Google-Smtp-Source: AMsMyM78XKtiKz85Z65DLjDsGzvQzuxcSe1mnefZ6tLlp0mox14QuM3od7F8awN13FnpalS1egAygw==
X-Received: by 2002:a17:90a:d14d:b0:205:e77d:dc91 with SMTP id
 t13-20020a17090ad14d00b00205e77ddc91mr11924739pjw.20.1664462201384; 
 Thu, 29 Sep 2022 07:36:41 -0700 (PDT)
Received: from Taix.flets-west.jp ([240b:253:ec40:2400:b7d1:436e:2d61:e925])
 by smtp.gmail.com with ESMTPSA id
 y63-20020a626442000000b0053b9e5d365bsm6265154pfb.216.2022.09.29.07.36.39
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 29 Sep 2022 07:36:40 -0700 (PDT)
From: Taiju HIGASHI <higashi@taiju.info>
Date: Thu, 29 Sep 2022 23:36:32 +0900
Message-Id: <20220929143633.28844-1-higashi@taiju.info>
X-Mailer: git-send-email 2.37.3
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
X-BeenThere: guix-patches@gnu.org
List-Id: <guix-patches.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/guix-patches>
List-Post: <mailto:guix-patches@gnu.org>
List-Help: <mailto:guix-patches-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>,
 <mailto:guix-patches-request@gnu.org?subject=subscribe>
Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org
Sender: "Guix-patches" <guix-patches-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
X-Migadu-Country: US
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1664470722;
	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:
	 content-transfer-encoding:content-transfer-encoding:resent-cc:
	 resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=o2x4Y0IWHLEo+Qae9klqvbZL9TsmcpzYkOPrVQ8z7n0=;
	b=Lx3hvCPFCEyzNhzhIbFxO/SMNAqNa2QTmsaldEkuaJJTUdt2wudDCLVdPdXbw/J+cOeSvP
	cIunHB6MEDjJSYlJN0LuSRqoP9dzr0d8CsDTddXFXfye729FdgSu11j1qmoKglr5TaYgNx
	dKE4mhDIzEH+yEvxDS3XnDKkDDrxxbMM9+pD4sfqHsISrgWyWd817+gwSxRgFol8iHxNSj
	f5k9JXMCn06CCBt8gERkgrhm1mxFeQZw1gwEOMdGmakG2KgCcI475uYVsPfi1rHoczMbte
	OqRUGUbniRyr47e1iMPBQJSHbaPpsTmT66MkpSOOI4crgvYZaj4aKgNEXzTNvQ==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664470722; a=rsa-sha256; cv=none;
	b=Je1nHOYF9Dp4mpzmxbkEy1NMdUSzyWXxAiVWdEx6INlErX0Jo7tIP4ka8BTUzBxxsbazFd
	q8WBHihbqmiMGnz/I3zvYaFPNGtxwU6Oi5/K6R10kI04ZHwiaN7B7JVndd8Cjv6hYzBpVf
	gO+RsH343uP1AsJBn1FnxG+8HV3Saa4xVQN65/6DtP6iGtnWie75zMevPXqD9T3GXjSSox
	Ur6FVsbb1b6t/5o/XEPdW4sjQbpWEC5JyeanweJurlu6+Qe+dwL345i89is4HdFhn2mRt1
	cyXAkMK+NvDCoUaGqKC0d+tdewQVmv3v5MeAG1OPMFV2dGJ3U9LX+Jz18SdAew==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("body hash did not verify") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=aFrfSpJV;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: 4.66
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("body hash did not verify") header.d=taiju-info.20210112.gappssmtp.com header.s=20210112 header.b=aFrfSpJV;
	dmarc=none;
	spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: 0E6EABF75
X-Spam-Score: 4.66
X-Migadu-Scanner: scn0.migadu.com
X-TUID: buUzteSr82Hs

* gnu/home.scm: Move home-fontconfig-service-type from
home-environment-default-essential-services to %home-base-services.
* gnu/home/services/base.scm: Add base.
---
 gnu/home.scm               |  5 ++---
 gnu/home/services/base.scm | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+), 3 deletions(-)
 create mode 100644 gnu/home/services/base.scm

diff --git a/gnu/home.scm b/gnu/home.scm
index c95d1e0818..c79db87018 100644
--- a/gnu/home.scm
+++ b/gnu/home.scm
@@ -19,10 +19,10 @@
 
 (define-module (gnu home)
   #:use-module (gnu home services)
+  #:use-module (gnu home services base)
   #:use-module (gnu home services symlink-manager)
   #:use-module (gnu home services shells)
   #:use-module (gnu home services xdg)
-  #:use-module (gnu home services fontutils)
   #:use-module (gnu services)
   #:use-module (guix records)
   #:use-module (guix diagnostics)
@@ -66,7 +66,7 @@ (define-record-type* <home-environment> home-environment
                                 this-home-environment)))
 
   (services           home-environment-user-services
-                      (default '()))
+                      (default %home-base-services))
 
   (location           home-environment-location            ; <location>
                       (default (and=> (current-source-location)
@@ -82,7 +82,6 @@ (define (home-environment-default-essential-services he)
 
    (service home-symlink-manager-service-type)
 
-   (service home-fontconfig-service-type)
    (service home-xdg-base-directories-service-type)
    (service home-shell-profile-service-type)
 
diff --git a/gnu/home/services/base.scm b/gnu/home/services/base.scm
new file mode 100644
index 0000000000..fbf92ba213
--- /dev/null
+++ b/gnu/home/services/base.scm
@@ -0,0 +1,35 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2022 Taiju HIGASHI <higashi@taiju.info>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu home services base)
+  #:use-module (gnu home services)
+  #:use-module (gnu home services fontutils)
+  #:export (%home-base-services))
+
+;;; Commentary:
+;;
+;; Base home services---i,e., services that 99% of the users will want to use.
+;;
+;;; Code:
+
+
+(define %home-base-services
+  ;; Convenience variable holding the basic services.
+  (list (service home-fontconfig-service-type)))
+
+;;; base.scm ends here
-- 
2.37.3