From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 gMnSKb8XbmXYwAAAG6o9tA:P1 (envelope-from ) for ; Mon, 04 Dec 2023 19:17:35 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id gMnSKb8XbmXYwAAAG6o9tA (envelope-from ) for ; Mon, 04 Dec 2023 19:17:35 +0100 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 8B9035F708 for ; Mon, 4 Dec 2023 19:17:35 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gtBqtU6W; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701713855; 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=dN89rBiC7aRqK2MC0pEonvhjgmTWSLJSYAt2NsFO4Kg=; b=Ip1UsofLmXVqjDyPDGyB1YcAxLwylrKbk/nkXwOAFibhoo44XGHPnCxo0VHzXibarr5Bzw Mbg96IFWM5cI0LH9gl0M+DUCqe5c0n/gE4fgZbtQ8Sx/JFj89H9R+ITtkvBnaYXVcX59nH 9SiZil8WeM6Q+re435LfkUJYwVYTGUufEIUHMMad/MqezcvSuTCl7OLKdRpsK9Ed4V1W1o CKQS2mP6F9BXaZ5YulIuqs8WFeHu+HoE3bLmG3jWTzWuVH9sT68KPW2KtpOACZkwBwjfdI TrkQanR1n6uHsFL7E4joxX4yST1UD1f3QiuYhiaRLl5aw9CFSRCRRRooZndWoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=gtBqtU6W; 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"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701713855; a=rsa-sha256; cv=none; b=rSOx31bvyFttFzcjp+Wy0WhEnTp8tPSY+XJ0XEvb/fEmlP1jVp3SVLNqvSJwgrz4714Zrk mTf5btLKbOMl0em5tzi7mWzZSS+83IM8rVm6olJFhcKKqAFnYnSyQ53f8tMCOeNQK2CVff ziS0GplCE/OdXo/thVVe0LXFJPfywba/uFQHCtusljufOvR/aYJi91E90TVRXAIJNizG4P +p1jC0fiJc3HlIn3jH1hygEQCfhCmBMjYa493q/H14ugvNB0RQQMZQRLqVajg6zOKkpluo zS7JVhdUVsAGfBvumysqlG+7lJJoq9ByfFFfxOiPftIAsQcKO1hKncEzDCuCVQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rACz3-0005ne-65; Mon, 04 Dec 2023 12:43:53 -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 1rACz2-0005nW-07 for guix-patches@gnu.org; Mon, 04 Dec 2023 12:43:52 -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 1rACz1-0003V6-Ns for guix-patches@gnu.org; Mon, 04 Dec 2023 12:43:51 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rACzC-0005KB-1a for guix-patches@gnu.org; Mon, 04 Dec 2023 12:44:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66932] [PATCH] services: Add xremap service. Resent-From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Dec 2023 17:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66932 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 66932@debbugs.gnu.org Received: via spool by 66932-submit@debbugs.gnu.org id=B66932.170171183020442 (code B ref 66932); Mon, 04 Dec 2023 17:44:02 +0000 Received: (at 66932) by debbugs.gnu.org; 4 Dec 2023 17:43:50 +0000 Received: from localhost ([127.0.0.1]:35612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rACz0-0005Jd-BO for submit@debbugs.gnu.org; Mon, 04 Dec 2023 12:43:50 -0500 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:57499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rACyx-0005JN-Qm for 66932@debbugs.gnu.org; Mon, 04 Dec 2023 12:43:48 -0500 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a1a52aecc67so333603766b.2 for <66932@debbugs.gnu.org>; Mon, 04 Dec 2023 09:43:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701711811; x=1702316611; darn=debbugs.gnu.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dN89rBiC7aRqK2MC0pEonvhjgmTWSLJSYAt2NsFO4Kg=; b=gtBqtU6WFOmxU6uEFBCsdB7GPG9SmHIBg9gpn5FQOB7RiSlP/1Y2I1q9hH1cSgVzGR 2iD7Bo0N6o1suPsYD9talvjv6Lk42KtVL+7N7nv9XNzau58u9/JuT6RWaHOIZuuXGLU7 X7hajk/1qnNDxj8j2cvMkp1cGdOX1WBa/6TiB77hMTUV7EtRWHKN4jUhm9KuDLA3bWER mgOj6YXkZ109go375MmrgR76qcU7Db5XtYfu31oCNkZcdKlTq830SqxiY+4rZqpncbZT rW8TLsTetOxaJIXTouMuiMyf+4C1Hg667+ibrVcqaUmYfqXhNyV6EekwNjuzoM9Sytp/ Jj0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701711811; x=1702316611; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=dN89rBiC7aRqK2MC0pEonvhjgmTWSLJSYAt2NsFO4Kg=; b=eaCa1YXx5zIJtyxhQKtV044KnO2biemvfr5Bt90ABBnZqIQwKPwmjPFlx8FPTnN1BU qFqIJ8DpyhDViqJeqvpAizfRyu8ANg+TtBLleYp/dnjYn/52D2YzEu/Rt1lC3IjQj+uh tEwy9GrNvQegIpFAtIT7a/3jePfJDAM9XQZ/cmOAAzt7mv1jroIPmTDIlDnLNL3rryY7 6CXyFSTH/Imu3oIx2dsAHPL07xLanqLfba8KNjI6jCPTWDBpwNrvKuX1hi4jTkriTI82 KlFc9zh3c32SoysN65w/UHt+h2T5p9yOmM8Wx18qkKhRv+AJbqfAzJ4x7FCsuemGsFA1 W/Ag== X-Gm-Message-State: AOJu0YwfpzT+oGNMM7sm7w84+H1ofJwXak/uSCHX1Sn9jqpktedh+mIL v9bEnIY9g7vH93uMFJ0UAN8= X-Google-Smtp-Source: AGHT+IGSOOTzdDbb8p3tCuS16CmlY5OlAnvZ/Eryk1fF18C8vrOX0m8bwTRu1XsKSWHMJ7RJ+Ez1Mw== X-Received: by 2002:a17:906:209:b0:9d3:ccd1:7604 with SMTP id 9-20020a170906020900b009d3ccd17604mr3039805ejd.44.1701711811065; Mon, 04 Dec 2023 09:43:31 -0800 (PST) Received: from localhost (176-241-15-210.pool.digikabel.hu. [176.241.15.210]) by smtp.gmail.com with ESMTPSA id v20-20020a170906489400b009adc77fe164sm5526412ejq.66.2023.12.04.09.43.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 09:43:30 -0800 (PST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 04 Dec 2023 18:43:42 +0100 Message-Id: From: =?UTF-8?Q?V=C3=96R=C3=96SK=C5=90I_?= =?UTF-8?Q?Andr=C3=A1s?= X-Mailer: aerc 0.15.2 References: <57d94dcb19152592014053ef0bc81e95e4f6b602.1699111054.git.voroskoi@gmail.com> <87o7f8hoch.fsf@gnu.org> In-Reply-To: <87o7f8hoch.fsf@gnu.org> 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: 6.66 X-Spam-Score: 6.66 X-Migadu-Queue-Id: 8B9035F708 X-Migadu-Scanner: mx12.migadu.com X-TUID: rVfI91bzmKrB Hi Ludo, Thanks for the reply. On Sat Dec 2, 2023 at 11:48 AM CET, Ludovic Court=C3=A8s wrote: > Hi Andr=C3=A1s, > > Did you consider writing =E2=80=9Cbindings=E2=80=9D so that one can confi= gure it Scheme, > as is the case for most other services? (To be clear, I think we should > still allow people to provide their own Yaml file as is done here.) I did consider that, but I am not familiar with guile, so that is too hard for me and there are a lot of combinations to handle. > If that=E2=80=99s too tricky/impractical, we can keep the patch as is, bu= t > adding =E2=80=9Cnative=E2=80=9D configuration on top of that would be swe= et. It is tricky for me and telling the truth I do not see the benefit. > I wonder if it would make sense, in a future patch, to also provide > =E2=80=98home-xremap-service-type=E2=80=99 as a direct mapping of this se= rvice. Food > for thought. I was thinking about that, but was not sure. There is a section in the READ= ME about that: https://github.com/k0kubun/xremap#running-xremap-without-sudo The basic idea is creating an input group with write permission for every input type. I think we can not automate the "add user to input group" in the home-servi= ce, so that would be still a manual task. Is this solution acceptable? Thanks, Andr=C3=A1s