From patchwork Thu Sep 29 14:36:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Taiju HIGASHI X-Patchwork-Id: 43052 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4925C27BBEA; Thu, 29 Sep 2022 17:58:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id ACC4527BBE9 for ; Thu, 29 Sep 2022 17:58:45 +0100 (BST) Received: from localhost ([::1]:53106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odws0-0002ZZ-I4 for patchwork@mira.cbaines.net; Thu, 29 Sep 2022 12:58:44 -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 ) 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 ) 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 ) 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 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 29 Sep 2022 14:37:02 +0000 Resent-Message-ID: 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 , 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 ) 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 ) 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 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 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * 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 this-home-environment))) (services home-environment-user-services - (default '())) + (default %home-base-services)) (location home-environment-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 +;;; +;;; 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 . + +(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