From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QN+uMa2gLGErFwEAgWs5BA (envelope-from ) for ; Mon, 30 Aug 2021 11:11:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4P9bLa2gLGH2VgAAbx9fmQ (envelope-from ) for ; Mon, 30 Aug 2021 09:11:09 +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 730DB21107 for ; Mon, 30 Aug 2021 11:11:08 +0200 (CEST) Received: from localhost ([::1]:58528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKdJr-0003XS-Fg for larch@yhetil.org; Mon, 30 Aug 2021 05:11:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44134) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKdJn-0003XK-6l for guix-patches@gnu.org; Mon, 30 Aug 2021 05:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46583) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKdJm-0003JD-VX for guix-patches@gnu.org; Mon, 30 Aug 2021 05:11:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKdJm-0002dP-Hi for guix-patches@gnu.org; Mon, 30 Aug 2021 05:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50208] [PATCH 5/5] home: Add home-environment. Resent-From: Andrew Tropin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 30 Aug 2021 09:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50208 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Xinglu Chen , Oleg Pykhalov Cc: 50208@debbugs.gnu.org Received: via spool by 50208-submit@debbugs.gnu.org id=B50208.163031464610105 (code B ref 50208); Mon, 30 Aug 2021 09:11:02 +0000 Received: (at 50208) by debbugs.gnu.org; 30 Aug 2021 09:10:46 +0000 Received: from localhost ([127.0.0.1]:58129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKdJV-0002cv-LU for submit@debbugs.gnu.org; Mon, 30 Aug 2021 05:10:45 -0400 Received: from mail-lj1-f169.google.com ([209.85.208.169]:34664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKdJT-0002ch-6c for 50208@debbugs.gnu.org; Mon, 30 Aug 2021 05:10:43 -0400 Received: by mail-lj1-f169.google.com with SMTP id f2so24723086ljn.1 for <50208@debbugs.gnu.org>; Mon, 30 Aug 2021 02:10:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=trop-in.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=SjLSMIPMFcmkovFeNJfPVPG3aCqKrQBnCs7YAIyhKrY=; b=eyRbg5O/MYBgRr/L1ZmugxBQDfdzEzSX5ajArTyhXgsV86UQnt5GPk0hFD9uO3M7n9 pEV2o+RmJMpHFBy/FTVqYHs1l9lvquoeqlRvcwxtpsrP+dlo6HNHmABs1YkzTCA/lcwq tAglvoH+hQlRyTcMagNrn6IfJnKOtdljHCRTyVOCkcZuR/Y+pAMg31ty5sZvhmSfofDt YeSdvOv3WlavuTxtVOblIYMWQOrn5G8+nO4Pm1uTVhuC4RUCdSTT7OLKIbh7AHkBNdCs 2/edz1ztozeeNlteQFpHx8NeBJulHUl2Zbmzhqn6oQDTV7zPTDSw73Dh1lqQPTbCVMqH 4q1Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=SjLSMIPMFcmkovFeNJfPVPG3aCqKrQBnCs7YAIyhKrY=; b=NocqHieVjYsoJRB6Md3i0YJJg2Ncwh12nMsCWqD/W411uBVs9+GiwVZ5cihTmQAeCm 5g+H5TeChCosIgbZoC7txgg9jUNEzup8MJOng+mNX4+I9eMu96gMHj1HVNrYGqeeKn1h Jd6Ark1BjFfIX83fkLMeJdL/UIKI/a8A/PqSAIkWxN8imskQM3bX550cRA8FZZuoEjwh +UZENt836JnafkfLzzasdcl2TWFEjNuKl9y+RJyjAVYoHiWzH3DVB1TMDXtNTwg3q+uF ixXqUJvjJHu0L4sw+Om8BxXzJ0esEEgh1oWg+cfxZD3qO3mPorNJ8qzam4DUgw0vSP/l rTbQ== X-Gm-Message-State: AOAM532d6U8fNmVus+ZGMv9KaBdFGFLIRdEoRFEntETmVZcmFcJleWMM 46HJl9bptOoIRTeo7Le/SnrOag== X-Google-Smtp-Source: ABdhPJwmNS+TYx4NsWSW3tO7mCaEVhP2vg01Vuetj48Qs6vDUtCqfJk8g0S+Dn9r4nqnau+5WkVE3w== X-Received: by 2002:a2e:555:: with SMTP id 82mr20355892ljf.245.1630314637162; Mon, 30 Aug 2021 02:10:37 -0700 (PDT) Received: from localhost (109-252-93-92.nat.spd-mgts.ru. [109.252.93.92]) by smtp.gmail.com with ESMTPSA id c10sm1340917lfm.271.2021.08.30.02.10.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Aug 2021 02:10:36 -0700 (PDT) From: Andrew Tropin In-Reply-To: <87mtp1vofg.fsf@yoctocell.xyz> References: <87bl5kbsk8.fsf@trop.in> <87r1eg8obm.fsf@gmail.com> <871r6ffklu.fsf@trop.in> <87lf4ne56w.fsf@trop.in> <87mtp1vofg.fsf@yoctocell.xyz> Date: Mon, 30 Aug 2021 12:10:33 +0300 Message-ID: <87ilzn8fhy.fsf@trop.in> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" 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=1630314668; 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: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=SjLSMIPMFcmkovFeNJfPVPG3aCqKrQBnCs7YAIyhKrY=; b=sGstI8l9NrB0eOIb1/mWnH5LrcyFF62LnFVY6zMu4NEtD2/qPq4QgH/p8nc0m1rEbhomEx 9ddRRWnOmcNJOhkW41EVp2vf2vp79bPgwfP9hMBNbj2xT8Kh1xTbxtr8p+F80HOfQgN6KS dkJQ+952/PCb2uoF7Y6zyL7OeRlYU95tEH0sf2c6TAWgXxOs9Kd9R3nGNc2Wy6kmbfbXX6 z82hpYooQwX4fapN7FUuqdTpqftQfgbjV+Wo+zeZGS+TtltiiFqk0MuUaTLwuSGSJXtNTC trgz+qP92/WCteu7Z5kNLCm7fCZt/RIpT5Xefc0AweI1J82QfUpuYaB0xrJbUA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630314668; a=rsa-sha256; cv=none; b=tipAvjsQjVpYcFrLsueuSoJdyiCAGdxCnP1FaaZ0Md1TuCByGbvYCuE2Zo9oPvHAVFmCwZ Z7vCeAnp755sC6L85KeOC/hop8nkU5TTOjMzqyKcOwEWPnbAas7YWgC7xIIb8Fe6RU8ido JmhNiD1fUslxKsklZqMLk4JOWEnxl4IhpvylEymcoiElukthQouWd390eTjFsAbOD57rMe y18fyHjJoQ0CU/W8O7f4gYPFIl6LR2+sCvR5sLkkOjE8hUh/HtL0+HkkyA4HbO+YF8Hlzm 5Al+nzhfNPAY7myNaaVo93uAqiyJKz08Ld/ffjB8iNKi94dekC8cilMnwJ5JcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b="eyRbg5O/"; dmarc=none; spf=pass (aspmx1.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: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=trop-in.20150623.gappssmtp.com header.s=20150623 header.b="eyRbg5O/"; dmarc=none; spf=pass (aspmx1.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: 730DB21107 X-Spam-Score: -2.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: slER6DNTG0iU --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2021-08-28 12:44, Xinglu Chen wrote: > On Fri, Aug 27 2021, Andrew Tropin wrote: > >> * gnu/home.scm >> (home-environment, home-environment?, this-home-environment) >> (home-environment-derivation, home-environment-user-services) >> (home-environment-essential-services, home-environment-services) >> (home-environment-location, home-environment-with-provenance): New varia= bles. >> * gnu/local.mk (GNU_SYSTEM_MODULES): Add home.scm. >> --- >> gnu/home.scm | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++ >> gnu/local.mk | 1 + >> 2 files changed, 98 insertions(+) >> create mode 100644 gnu/home.scm >> >> diff --git a/gnu/home.scm b/gnu/home.scm >> new file mode 100644 >> index 0000000000..220cc49846 >> --- /dev/null >> +++ b/gnu/home.scm >> @@ -0,0 +1,97 @@ >> +;;; GNU Guix --- Functional package management for GNU >> +;;; Copyright =C2=A9 2021 Andrew Tropin >> +;;; >> +;;; 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) >> + #:use-module (gnu home-services) >> + #: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) >> + >> + #:export (home-environment >> + home-environment? >> + this-home-environment >> + >> + home-environment-derivation >> + home-environment-user-services >> + home-environment-essential-services >> + home-environment-services >> + home-environment-location >> + >> + home-environment-with-provenance)) >> + > > It should probably have a =E2=80=98Commentary=E2=80=99 section. Maybe so= mething like > > This module provides a record for managing per-user > packages and 'dotfiles'. > > ? Thank you for the idea, added a doc comment. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEKEGaxlA4dEDH6S/6IgjSCVjB3rAFAmEsoIkACgkQIgjSCVjB 3rBoqA//Y0gUiBWtPlkfS/ph39Ul3oNM4vBZ1OTRn5tXhpA6zNHIfWMPV1LYNZpN U4SGYg0cnM2WcxQHNocWs676HjP99IQLglqDEcOQbsbSPSg1reT9AJlN0wYo1wZq eYAmLjluvcoDMTa7OX0kPDp8+DMG/gFyy5L6LlY+vYxPyA2ricRmSuyNsIq+On9w iQktMKompWz1S5EsgQ3Ig1an46jxbxBSxhThl0w9DDaYyKbecgYS595YrEjYhcbp dlxwFxEyqPdOnWVJvVUc0nahlsKxaUnjwUvXUTGynNTBZqn1nyZxo+dJjSOrFY0g 7IWCMhK2gUGEpmLGJz9zZDWTDwKFlpICAaxQAg1NU0dJ+zx0XTIPxylnNt5iFcUs pYgTV+RYtOs+M80m7KOYhlIjPK75Z0ou41O+xlLBFPJcLnefLbRsl70T67owS6ne GMagPtDr5rsAp8YiQYNLmUFBpmaQkUnFfuoj74L4h8ZwI4StLsXVbn79LmysXUBl CdyXZZ449zJTjT13C/QEFgTogCuh3lmaza9y9Pz/MD15TVc+qMVA3qp7uZ5mh0EK LLXMb2eZRzmJmSHoJAfit/+Kz6yJPFYknlu//aGWFKcuOFL/i68JkeN3AJroTCBA lAI18sXHamXhlxaPtU410V7+NzBNazehHc5Wso73rf9W4ZUQoPY= =SG8Z -----END PGP SIGNATURE----- --=-=-=--