From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id CAOpKKQjrmXP5AAA62LTzQ:P1 (envelope-from ) for ; Mon, 22 Jan 2024 09:13:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CAOpKKQjrmXP5AAA62LTzQ (envelope-from ) for ; Mon, 22 Jan 2024 09:13:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=fpwlvlKe; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705911204; h=from:from:sender:sender:reply-to: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=CERFDIuZ/GjGeypG3oTMqyVJ4QijFAQRjpysl4hNibg=; b=hNov8vDDGAZ2g1jZxnWA4E3Q7Mg670iyinBy7al7tWkp/BagBdqM18Gle5EcY2brjwphH1 j7xq56pOU9qsvkeLI0TX/NKW455D07qWWA7D6k77X6dKH4dsfQdxGdVNruP965tcuWAbiW Qm9yTH0D3oN8VNZbVPwk+rKRaxu7amBm3Z/hW4wPV2PJWv0VwX+nYKGm3D4+//LzXRlUTZ IVtdzRp5g96dQFgZlccunY05ou/gEfJIy3Bvyqm57BMge0XmQ/5bX3LGTYoV5ptcaE4XnL U47MswcHTx4X/qDo9FEq1zs0pKhJm/w7CExrDjRn+wZji4ULsHoTOzHyMxgzWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=fpwlvlKe; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705911204; a=rsa-sha256; cv=none; b=InBd/zEpTACwociO2NlUMFOEyczCbol8a+IBArU3XB0U7Hhbc5aH6Af+OyA24481exO8Wf SFYiRFUEaqG+jZucFKM92M4yYJntssmEpADvhOikfVkmmPxtUF0sdrWnlrmg8XZx3mfVFt lUAYlLTqw86cMy+YYyTsbvA5uvEEpatbF9gYHPetuZHgPFYXTx2A96H4Y0+o7N/AoXyswx YN91A54lcFCwoUAfZVEwPMAGV46WMeTcFuiXhoHeu8/+u/x2ZB6wHuQI7iPncXM8cLCF6E H8ENhqEieauOCeY5VLUTpADFNjneuOKygdRJjG6T/h+e5i86KLQtUuEhC6hCQw== 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 50F6A18C51 for ; Mon, 22 Jan 2024 09:13:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rRpQT-0000qe-88; Mon, 22 Jan 2024 03:13:01 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rRpQR-0000ln-AG for guix-patches@gnu.org; Mon, 22 Jan 2024 03:12:59 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rRpQQ-0000QQ-Uz for guix-patches@gnu.org; Mon, 22 Jan 2024 03:12:59 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rRpQU-0005Sc-Fu for guix-patches@gnu.org; Mon, 22 Jan 2024 03:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60521] Re: [60521] Add home-dotfiles-service-type - Rebased on master Resent-From: Giacomo Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 22 Jan 2024 08:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60521 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: tumashu Cc: 60521@debbugs.gnu.org Received: via spool by 60521-submit@debbugs.gnu.org id=B60521.170591113720928 (code B ref 60521); Mon, 22 Jan 2024 08:13:02 +0000 Received: (at 60521) by debbugs.gnu.org; 22 Jan 2024 08:12:17 +0000 Received: from localhost ([127.0.0.1]:39837 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRpPj-0005RS-Vs for submit@debbugs.gnu.org; Mon, 22 Jan 2024 03:12:17 -0500 Received: from confino.investici.org ([2a11:7980:1::2:0]:50835) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rRpPd-0005RC-VX for 60521@debbugs.gnu.org; Mon, 22 Jan 2024 03:12:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1705911122; bh=CERFDIuZ/GjGeypG3oTMqyVJ4QijFAQRjpysl4hNibg=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=fpwlvlKeC6jYokxdrs6DaMhK+s1ttdmDE76Ov0iGrH5rdZRnOPzUJ4jpWLcWCiObi icbN7uEcBpmDMSEP0umkaXDPBBqTGNubXH/0lJ+cXShG2RTYrw82qGXcMCUop9cHhl CultYnRiXeVpsc7ozWmi2E68IFSQUIROUFk2rGUw= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4TJNH66pKkz111m; Mon, 22 Jan 2024 08:12:02 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4TJNH64YNdz10yy; Mon, 22 Jan 2024 08:12:02 +0000 (UTC) Date: Mon, 22 Jan 2024 09:12:00 +0100 User-Agent: K-9 Mail for Android In-Reply-To: <1dfe3e4f.1d9.18d2e86320b.Coremail.tumashu@163.com> References: <0a34b882-cb82-cbb2-50fe-f85725acf024@autistici.org> <2882eccf-000b-3db4-b2da-2dcb5c68e8ff@autistici.org> <1dfe3e4f.1d9.18d2e86320b.Coremail.tumashu@163.com> Message-ID: <772A4BF6-A930-44D6-B0D5-44922FD7908C@autistici.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----1Y36047XOF8GAI6L4LXJWGKC759NTI Content-Transfer-Encoding: 7bit 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: , Reply-to: Giacomo X-ACL-Warn: , Giacomo via Guix-patches From: Giacomo via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.27 X-Spam-Score: -7.27 X-Migadu-Queue-Id: 50F6A18C51 X-Migadu-Scanner: mx12.migadu.com X-TUID: mT+R6H2u/bzw ------1Y36047XOF8GAI6L4LXJWGKC759NTI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, This is what I tried in my configuration=2E It should work: (define mydpi "192") (home-environment [=2E=2E=2E] (services (list [=2E=2E=2E] (service home-files-service-type `(("=2EXresources" ,(mixed-text-file "Xresources" "xft=2E= dpi:" mydpi)))) (service home-dotfiles-service-type (home-dotfiles-configuration (directories (list "/home/myself/guix-conf/=2Edotfiles"))))))) Hope this helps, giacomo Il 22 gennaio 2024 01:16:03 CET, tumashu ha scritto: > It is possible to use it together with home-dotfiles- service-type= =2E > > >can you give a simple example=EF=BC=9F thanks > > > > > > >-- >=E5=8F=91=E8=87=AA=E6=88=91=E7=9A=84=E7=BD=91=E6=98=93=E9=82=AE=E7=AE=B1= =E6=89=8B=E6=9C=BA=E6=99=BA=E8=83=BD=E7=89=88 > > > >=E5=9C=A8 2024-01-22 01:06:19=EF=BC=8Cpaul = =E5=86=99=E9=81=93=EF=BC=9A > > >Hello Feng Shu, > >Apologies for the delay=2E I fixed the bug you pointed out for symlinks a= nd spaces in file names=2E Thank you for catching them! > >About templating I would suggest you to use mixed-text-file or computed f= ile from (guix gexp) and pass them directly to them home-files-service-type= =2E It is possible to use it together with home-dotfiles-service-type=2E > > > > > > > > >giacomo ------1Y36047XOF8GAI6L4LXJWGKC759NTI Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

This is what I tri= ed in my configuration=2E It should work:

(define mydpi "192")
(home-environment
[=2E=2E=2E]
(services
=C2=A0 (list
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [=2E=2E=2E]
=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 (service home-files-service-type
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 `(("=2EXresources" ,(mixed-text-file "Xresources" "xft=2Edpi:" mydpi= ))))
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (service home-dotfiles-s= ervice-type
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (home-dotfiles-configuration
=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 (directories
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (l= ist "/home/myself/guix-conf/=2Edotfiles")))))))

Hope this helps,
=
giacomo


Il 22= gennaio 2024 01:16:03 CET, tumashu <tumashu@163=2Ecom> ha scritto:
      It is possible= to use it together with home-dotfiles-  service-type=2E

can you give a simple example=EF=BC=9F thanks



--
=E5=8F=91=E8=87=AA=E6=88=91= =E7=9A=84=E7=BD=91=E6=98=93=E9=82=AE=E7=AE=B1=E6=89=8B=E6=9C=BA=E6=99=BA=E8= =83=BD=E7=89=88



=E5=9C=A8 2024-01-22 01:06:19=EF=BC=8Cpaul=  <goodoldpaul@autistici=2Eorg> =E5=86=99=E9=81=93=EF=BC=9A
<= blockquote id=3D"isReplyContent" style=3D"PADDING-LEFT: 1ex; MARGIN: 0px 0p= x 0px 0=2E8ex; BORDER-LEFT: #ccc 1px solid">

Hello Feng Shu,

Ap= ologies for the delay=2E I fixed the bug you pointed out for symlin= ks and spaces in file names=2E Thank you for catching them!<= /p>

About templating I would suggest you to = use mixed-text-file or computed file from (guix gexp) and pass them= directly to them home-files-service-type=2E It is possible to use = it together with home-dotfiles-service-type=2E



<= /p>

giacomo

------1Y36047XOF8GAI6L4LXJWGKC759NTI--