From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kMTZMNzmdWGogAEAgWs5BA (envelope-from ) for ; Mon, 25 Oct 2021 01:06:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +JOcLNzmdWEYRgAAB5/wlQ (envelope-from ) for ; Sun, 24 Oct 2021 23:06:04 +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 4BDF0F082 for ; Mon, 25 Oct 2021 01:06:04 +0200 (CEST) Received: from localhost ([::1]:60466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1memZ1-00042K-0H for larch@yhetil.org; Sun, 24 Oct 2021 19:06:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1memYf-00041M-8j for guix-devel@gnu.org; Sun, 24 Oct 2021 19:05:41 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]:37519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1memYd-00050s-6y for guix-devel@gnu.org; Sun, 24 Oct 2021 19:05:40 -0400 Received: by mail-lj1-x236.google.com with SMTP id g8so6855495ljn.4 for ; Sun, 24 Oct 2021 16:05:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=sUqy7eb8wrRRWhMpBc3l9QrvaWyXeb/AgE/AaT4PTAo=; b=adwnya9tpcaQfahB2DeMbOBTMJ5NBa5chcftLoivI5fzlUTvLNUPrMpyCiKZqW50yv FlxiO2z80mzQHMy+/VqAMuxmsf5+LpE9llq9hqBPPfWt3nGqrhoBrGTBUfv7Xn5+OViB 88vhFNua/MFroF+qV9bVT0p0nPAvZBurX7Hj6gBUm33E2SGroVaA8SDurAQJqP848YHg +hbEirDkzu0XoNusUnf8VFRsWdjihiTQnxnXMR6al4wgCkyunrExHftyJHkkXWBmwp0U larJvvp1VoOsguWevJ94NqZmL/xtv3gqq7ScySbdZPS+7L26VYJx3WYv/HLqOUR7adLD FTCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=sUqy7eb8wrRRWhMpBc3l9QrvaWyXeb/AgE/AaT4PTAo=; b=M/rb/ePVRnrbmOPlEAsCU+P0tmb0yQoHoLdelAkRz+HPOTqiv8qX8QhmflHX4ZrGrm EAaN+gmNwHjbxJyTm3YS/jwgdASyVwQnOYcai3vGqr/64As96kvTtL9ip/471QqjYUsF rs3ASRCO1+RV+oGELZvTUqF1vuakwP3pz8NGPMN5NNqxd0q5rkmfwDeCWeHNCxa1C1Sp Kt41Zp6/CooTmqs4nUe4Wftlyl+aLIgd82Y2Jv6donOjrjxvujIreH3ruaQAO78Ijegg 9BXBufgf9z1L1woX+nJOZn5oN3VLIvi7D4mtDKADH09r39ThZs0gXNzq6N8FjeZQUiQ3 waUQ== X-Gm-Message-State: AOAM530WtEfOy1bpi616Q0aB/5/RzmGu1flbfyoI+uNznL7v4KAn41Be CDzqvV9lu5/542wYRxZHHADxf7lml0Q= X-Google-Smtp-Source: ABdhPJzt3MKx5B8d+c784cUMxOsC4a89G0YSMwtqd6ejsmBPIxocGjghOYLXz3fc5E/IoZ6dG/nq6g== X-Received: by 2002:a2e:6c0b:: with SMTP id h11mr15713364ljc.151.1635116736501; Sun, 24 Oct 2021 16:05:36 -0700 (PDT) Received: from guixsd ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id t15sm1375279lfe.233.2021.10.24.16.05.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Oct 2021 16:05:35 -0700 (PDT) From: Oleg Pykhalov To: jgart Subject: Re: nnn-service-type for guix home References: <20211024183710.GB12718@gac.attlocal.net> Date: Mon, 25 Oct 2021 02:05:31 +0300 In-Reply-To: <20211024183710.GB12718@gac.attlocal.net> (jgart@dismail.de's message of "Sun, 24 Oct 2021 18:37:10 -0400") Message-ID: <87o87eja6c.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=go.wigust@gmail.com; helo=mail-lj1-x236.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635116764; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=sUqy7eb8wrRRWhMpBc3l9QrvaWyXeb/AgE/AaT4PTAo=; b=J2XPPTawCqtuX7rzNUTLASo6+0r3DJXWsIHDgIVzuWmE0fDlWp4w7131aYApB4Soc6aUDw UpbVBtG5lwic19vdWGbRRUMNZoruxMQziV/wYtmPJ4RNoc0dB5Mw/tCLVmbIwmpLomIG2k OvfssNT0NbMyAIrNwNVy6JwqwomTPc7toSLIXKNWr/iOMV7qoI7gkXj5bOCvwYSIYOVXFO cQmwDPu9JeXwN2tXJ5CQ7ErMGxKuQyhIaEcjUzWnI+UrN8/Te2ROyfEzKYaG8RWFcRsMPR lvdG41Mo8PevxuOq9QTILO8ilMYDXzG6CTbBExbfZxujRCzxYDbIF78TamVtdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635116764; a=rsa-sha256; cv=none; b=kOaP/fxKYJQyyOdxOS49P2ZTM1i/cN17M1uKs4MHdgd4/N41VLnCNeE6LnktxTwbA3D+Bx 2x7xrSX26XCTZBmIcNAWlQxHCq7tnDdGInc5dJ1R/YXJqbDGyiL9fHcjGf8/ptjObUCI52 Qpg4nRiFUWe8i7Mka1EOtsBCXZHnhUThAwbjntthR4PcS5XeWwoS7RpVlqUDXzxTl/WVFS qhZNzdT0t56hhDNMP8RlEzUlI+BeErbU2bom1+vRWXTtCChrFMcyVdMk4jCjcXCuGIZgHL H4K21tRrj0KAHcCyYw5EzKwbxVDJrWx/ptJQW/N9RiecY2zhLFhziFJvp7oeaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=adwnya9t; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -5.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=adwnya9t; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 4BDF0F082 X-Spam-Score: -5.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: TqgocqlvGx94 --=-=-= Content-Type: text/plain Hi, jgart writes: > Does it make sense to add nnn's configuration to the bash-service-type > or to create a new service altogether? > > nnn is configured by setting environment variables: > > https://github.com/jarun/nnn/wiki/Usage#configuration For environment variables I think the best way is extending 'home-environment-variables-service-type' [1]. This approach could configure nnn for not only for Bash, but e.g. Zsh. [1] https://guix.gnu.org/en/manual/devel/en/html_node/Essential-Home-Services.html --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmF15rsUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+pw/XQ/7BCETy9454rRnNXUSPTgp4KRZU0YJ pgYhpfEy68DcS3ZrIMEt9FH34MdioAbRF8uKiyi7W9TbLNsbAnKtbbZZGgvwCKTY UOvYmJU6bCaCRY9PT9CVuzhSYbrLs+LLM0OiB1uqhU+jiyQyLSOXl1IzHHdVuRME M9tXBKBqkyCPNyCMMyy4L4TaqWo492b5x7Bsh15vrdxOMEkcGhxCM9pQCTihMVbX 7l4+rFEjF91//+y4v98Nx60WJ912Qp+mrwKe8RTOdWSYMtjOD+a1FHSn8a0QSdi5 z8zqKPTJ8R0WCBsvCJHT0oG6D7BoHjhGvHzygXNCpyfhdFWCyQOi2OYzK0dpEIsJ 3L965lZQDqbpHoKj5fR9bExWy0IdCwgItnUMF54YNmRR5dpMuCoBJHnbPGBHg3nU P0afsKCpAzIqs5ATP0x8hl4QagWT1WItR1XOcPEdJ/DFgdzAwlp1YeNtAw0o2X5c OSVtOCw+G4Ur6sFawEr4b+SKQ2JPk9iEhUk5mLB7puSBX+jOf63y801utaN8PgF6 QsBbXaRPCmxKUyKoI2y+5b1gLTFQk8+jzO0+ITOdeNUVy1PBNhCqxlJ4DSgbExec JrPnCoOj8WOYraMFYesrRRvOvsae8ykhsvDxUWILYpq8zf8haokYdjpRpsAZdPDG oyWH6mDvmGNI3V8= =5ggO -----END PGP SIGNATURE----- --=-=-=--