From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UARkBhqnbWGlJQAAgWs5BA (envelope-from ) for ; Mon, 18 Oct 2021 18:55:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SDDqARqnbWHXXAAAB5/wlQ (envelope-from ) for ; Mon, 18 Oct 2021 16:55:54 +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 972873AE90 for ; Mon, 18 Oct 2021 18:55:53 +0200 (CEST) Received: from localhost ([::1]:47770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcVvU-00022C-Po for larch@yhetil.org; Mon, 18 Oct 2021 12:55:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42730) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcVv8-00021O-Iq for help-guix@gnu.org; Mon, 18 Oct 2021 12:55:31 -0400 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]:41594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcVv7-0007sS-2z for help-guix@gnu.org; Mon, 18 Oct 2021 12:55:30 -0400 Received: by mail-lf1-x135.google.com with SMTP id u21so1081926lff.8 for ; Mon, 18 Oct 2021 09:55:28 -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=esb8h7D/spCVXDFL8SC+ptxYnh9a7B8NpWROcxRZVYA=; b=DAclsgXubEtAThXvhvBMGI1DQ5ywPO7lyGHXAqVCK2EClc4OVyZzV5NeEEI678kIE6 yaSWrV4k54o7rHGEAylyCilgZgsJYGzW8dhJ+GO3ZGJSbIEH7Xoc8wT9eFF7RJndKga0 LYpFavIJ6jykCqibqaQrq7dA6Z0tQ+eCKz10k5JnjJdR5eIslavxEDQZp2RgELU9tM8R FwBIu4DvBV4fGYZKh/PU1118p0jSeavXZHMIXd64Pz48WuOxe6SJ9W6ePaHiHhrZuV5W dDqy0H0TpJ7tpwI8EsRqbgJKKnWaLM7xM+AKS3Xjs1z/XYEuW3+WyJtIJ4Lvkto7Lz1Q 2o7w== 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=esb8h7D/spCVXDFL8SC+ptxYnh9a7B8NpWROcxRZVYA=; b=kJrcxnQ9Fj0E9STCCBqjh62aLfbbL3iJbn3Ubjr2ciW+vU3PH3Z4IOj9bOkLA+8s0W u1UgEYgqdwvC7gzVxAR9DT7UTCybm6UeHkSyCPNu3iRPJ2p9kBlw5xsKW64DTefN2890 GhsOcmpgD5IyHWv8yIhebDF08gxZpUW4w1ILba0PI8PF285Yy7pCvmlDg4a9L9fSQ35R Aoh5Ti8VRSbdOdAtA1hHmJ9pteAUMR33azZczbKAgZ3q930omykTM056vZPldgx36QM4 9rCD7FtOWVK4PMJuB44jg/zFuI/B400SYrhkQj/5JRKXwgMxEHuk1MsyrBQl6s2HSrIY EFzA== X-Gm-Message-State: AOAM533lYgq/WDSgweycmopp66r3LWnT2HeAijn8lIZclM2RqIwXnkpA SFO7DgfwKs5p0GOaAQIeTac= X-Google-Smtp-Source: ABdhPJzp+wTR7rp+HqxTYAySCyeMvIJZFczPLxu/DTbTeNGWXpoCjo0gmhoWEWA0DLX/hSiIHnMuiQ== X-Received: by 2002:a05:6512:1188:: with SMTP id g8mr835778lfr.436.1634576126650; Mon, 18 Oct 2021 09:55:26 -0700 (PDT) Received: from guixsd ([88.201.161.72]) by smtp.gmail.com with ESMTPSA id w24sm1648391lje.80.2021.10.18.09.55.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Oct 2021 09:55:26 -0700 (PDT) From: Oleg Pykhalov To: Roland Everaert via Subject: Re: Guix home on foreign distribution References: Date: Mon, 18 Oct 2021 19:55:23 +0300 In-Reply-To: (Roland Everaert via's message of "Mon, 18 Oct 2021 15:41:15 +0000") Message-ID: <87v91u1ddw.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::135; envelope-from=go.wigust@gmail.com; helo=mail-lf1-x135.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: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roland Everaert Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1634576153; 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=esb8h7D/spCVXDFL8SC+ptxYnh9a7B8NpWROcxRZVYA=; b=Z8uz3jF8jw5Flx9/2iAEhZoIpUqfgZ6Qw9111fxvQP+euYtlu5JpTezPTM5tW0QwsAJRDC mxG8agFMLxqqc/drwUjskbIEsGGhhqdMh6r1j+pCeytAkseNTEJs7cRdsQgAy0G0igPWaZ cT6XS7Zb52PmSokYqSoqBuHNCnenjpNezyMy7l71HBKxu4cTa8FOp7ghjzyQctQq67wnCC AW9gLq+9HmCj+YOo289niFZG10dXx5i4U1MPnnVmIzrgR8dchA3I4lkrn5ztaXC/T8Cqxq V2zbeua43zAp+xVzQtVQziJPB7vZlvVcHcstgWU3I3UDHseQPeisBU3A8RgG4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1634576153; a=rsa-sha256; cv=none; b=NC/6nnmuF3vcJ9Mxbrp+etzECgmb7Lb9J/0LZs3uQEVRCuNy16iv8z3EH02PTJeGb10HIs M8fghByp7/Bjr2EWc+K6o6E3Gmxn2ATOPWgAoubNAUhdaxS7nN8m1qsqkfiYO0ZRZ9/dHl UQ/3v59baAscUsxK5H3cgSBrwWU0npUfN7gSd1rTRMho2XN1TebCG1bBbC7I4MDIoHnAj0 V5zxGejMOiXBBEulxdtVT0fMX8tw65kSoac7qsAiQtplnJyrrFl2IKUwZ2Zw/4rWPQIDby 5J5kJXjVsDhsnWjsasBo6JgvJkUmNFJ3stj6X3hxHubvjA08z+G9YjI0NLjPuw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=DAclsgXu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-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=DAclsgXu; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: 972873AE90 X-Spam-Score: -5.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: zL4VLDYc76qM --=-=-= Content-Type: text/plain Hi, Roland Everaert via writes: > Is there anything related to file and directory permissions to be set > on foreign distrubution for guix home to work? > > I know that feature is still pretty young and some parts are still in dev, yet > I have tried it on my fedora 34 system and got the following error, which > could be related to permission and file ownership: > > ... > > --8<---------------cut here---------------start------------->8--- > (home-environment > (packages (list htop glances password-store dunst ranger restic hunspell > ;; hunspell-dict-fr hunspell-dict-en > ;; guile > neofetch xdotool openssl openvpn xscreensaver)) > (services > (list > (service home-bash-service-type > (home-bash-configuration > (guix-defaults? #t) > (bash-profile (list "export HISTFILE=$HOME/.bash_history")))) This should be a file-like object, e.g. plain-file same as in the test-config. > (simple-service 'test-config > home-files-service-type > (list `("config/test.conf" > ,(plain-file "tmp-file.txt" > "the content of ~/.config/test.conf"))))))) > --8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEcjhxI46s62NFSFhXFn+OpQAa+pwFAmFtpvsUHGdvLndpZ3Vz dEBnbWFpbC5jb20ACgkQFn+OpQAa+py4KA//X/q+FQaM0O8eIXwq2WVpmVsOYdVR 8RXJxStTuf3BoTwn+SvvtaBuJw2JSlJqWflJ3IaCj7lv6labGIShQOZw9wVZsx8U 3CSaJ8wjjoQ8+WS9tflPrDjC4K9+IwKHlhZh3R7LnUelK/Y7WPmyBLxr4OeRYgbd wuM1VXTkMeTbtLYvESwwIohSDT6V3Y9b129dV6m5i7CO9ccwUczzRgNRbYzv21N+ Ethn5xw/q6WPmmCXIAeWh51YzNYzpH3MVqYaFevp5jf05DnEtCU/WFb/4I8N5icx mG95sIDaZDdVPvaKYQvanAqPqZx4/taWTLPEMtAgo8qPp1Vnho5pK86o0Woiy8kP b+CXWDUGyGggdunvZxRBrtX9QkOGL8DesqtXvdHZc1jm1vNelrjj1qW92+CJY9Bx T5wK+HPvFsanJu89/B8XhPWQvwhLmp0MYDJdEWx3Eh2UfHDl1oy+jG09BSqS0NBX QOG8KazjoOPYwu3eUIF/lfwAJDNhd4fSajw006ApAFO6iurgonc2F+j+fDWcuHyX 6z0qbjIrW2zRg6eE116/D9AqqpiYEX0cV+7Ot+3eWozX7K4cD0OZ3W8anlVvK7Ka 1sUFc0IN7/nJDOPkK+Xr0pUU1n4SkdvATBHyr4aON0ZiHFVpnEt87qw54KMXpaLB vm7upjXcfLakjto= =84hc -----END PGP SIGNATURE----- --=-=-=--