From patchwork Wed Jun 23 23:03:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 30657 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 C121F27BC78; Thu, 24 Jun 2021 00:05:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,SPF_HELO_PASS,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 5281F27BC81 for ; Thu, 24 Jun 2021 00:05:10 +0100 (BST) Received: from localhost ([::1]:49978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwBvh-0001S8-BF for patchwork@mira.cbaines.net; Wed, 23 Jun 2021 19:05:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwBvb-0001Ri-Ab for guix-patches@gnu.org; Wed, 23 Jun 2021 19:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58714) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwBvb-00087e-1A for guix-patches@gnu.org; Wed, 23 Jun 2021 19:05:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lwBva-0000E0-HZ for guix-patches@gnu.org; Wed, 23 Jun 2021 19:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49201] [PATCH] installer: Offer the CUPS printing service. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Jun 2021 23:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49201 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49201@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1624489444783 (code B ref -1); Wed, 23 Jun 2021 23:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jun 2021 23:04:04 +0000 Received: from localhost ([127.0.0.1]:42027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwBud-0000CZ-RD for submit@debbugs.gnu.org; Wed, 23 Jun 2021 19:04:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:37102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwBub-0000CD-RP for submit@debbugs.gnu.org; Wed, 23 Jun 2021 19:04:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwBuY-00019p-Lp for guix-patches@gnu.org; Wed, 23 Jun 2021 19:04:00 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:58144) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwBuV-0007PF-7f for guix-patches@gnu.org; Wed, 23 Jun 2021 19:03:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=jOJYrRQSBflwL QJLw3ufTSgILYMGNFTX9iR0Jjhxh+k=; h=date:subject:to:from; d=tobias.gr; b=TfsxfILnleY+EyTyxYC+RrBOkTJJDTZOoqWh2D6lzw3QQvlcRX0ccp+2+II+vUedHdem 9XQ/0X3Rs6FQX3s8cipfJheaqeMKSYjRqoRStlxpLQ6oHfQx5qsKpx72Sx/KT4CIQJLqIz RYiLW2CLt0Hzm0jWzoAiYQlg4l75N6j9d/VeDtDdiuHBLmx4nZ7w9ZBO8oRbo+zIEF9qcZ zKoMG0bpv0b4j8q9iMoOII48VqruDVJQ4cASmcdm0tocVCxg2kv5w/ohOPcT3HFdPuwCOV jRzQxO3lHKZHeM2zOxRBTOBS6A0hZGIe91WlULNElYviqwoM+q+NsZ9brU4S5RXw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 383e4319 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Wed, 23 Jun 2021 23:03:50 +0000 (UTC) Date: Thu, 24 Jun 2021 01:03:41 +0200 Message-Id: <20210623230341.20227-1-me@tobias.gr> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr 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, SPF_HELO_PASS=-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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches X-Patchwork-Original-From: Tobias Geerinckx-Rice via Guix-patches via From: Tobias Geerinckx-Rice X-getmail-retrieved-from-mailbox: Patches * gnu/installer/services.scm (%system-services): Add CUPS. --- gnu/installer/services.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/installer/services.scm b/gnu/installer/services.scm index b0007218ae..195b27aa77 100644 --- a/gnu/installer/services.scm +++ b/gnu/installer/services.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2018 Mathieu Othacehe ;;; Copyright © 2019 Ludovic Courtès ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen +;;; Copyright © 2021 Tobias Geerinckx-Rice ;;; ;;; This file is part of GNU Guix. ;;; @@ -117,7 +118,13 @@ (system-service (name (G_ "DHCP client (dynamic IP address assignment)")) (type 'network-management) - (snippet '((service dhcp-client-service-type))))))) + (snippet '((service dhcp-client-service-type)))) + + ;; Dealing with documents. + (system-service + (name (G_ "CUPS printing system (Web interface disabled)")) + (type 'document) + (snippet '((service cups-service-type))))))) (define (desktop-system-service? service) "Return true if SERVICE is a desktop environment service."