From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IBtcO9G/eGDYVgAAgWs5BA (envelope-from ) for ; Fri, 16 Apr 2021 00:36:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id IAkGNdG/eGBCKQAAbx9fmQ (envelope-from ) for ; Thu, 15 Apr 2021 22:36:01 +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 607CFC943 for ; Fri, 16 Apr 2021 00:36:01 +0200 (CEST) Received: from localhost ([::1]:47492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXAad-0005cJ-6F for larch@yhetil.org; Thu, 15 Apr 2021 18:35:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXAVO-0000iG-Mu for help-guix@gnu.org; Thu, 15 Apr 2021 18:30:34 -0400 Received: from relay8-d.mail.gandi.net ([217.70.183.201]:59021) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXAVF-00009A-Vf for help-guix@gnu.org; Thu, 15 Apr 2021 18:30:30 -0400 X-Originating-IP: 91.169.127.99 Received: from elite (91-169-127-99.subs.proxad.net [91.169.127.99]) (Authenticated sender: jeremy@korwin-zmijowski.fr) by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id BD53C1BF208 for ; Thu, 15 Apr 2021 22:30:18 +0000 (UTC) Message-ID: Subject: Guix System definition with a .emacs.d filled From: =?ISO-8859-1?Q?J=E9r=E9my?= Korwin-Zmijowski To: Guix Help Date: Fri, 16 Apr 2021 00:30:18 +0200 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.4-0ubuntu1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=217.70.183.201; envelope-from=jeremy@korwin-zmijowski.fr; helo=relay8-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=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: , 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=1618526161; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=vJL7Ah5q/ZoVr8wZ6bamc/ZuFZ7cFnD1bhi885BZQIQ=; b=OJbq5rIyz9ooai23LJ06QoEhtJ/h6xQxG8FS0sbv1gt8i8/68vUlpNl7XC48fnQIEVCZ9J FEOMGasoOiB/KgmoBYi5A1aGccGhYj5xHDHtc0CA53LQomYp/xAy4EVbm+9Joao4UNl8cO nQpNb7MoG1XI7C59JTxBfZTTUibrI37fXMlrothzwqj7SgUxb4bJQ4l36hsXMI1L3PSL5O uKqi/P6g+T0W6ETkfIdhP0dLreD4iQ9G7QLEQpZQbzLwkLSWEgaAb70Q0jVUxAf3uLGosH C0EF5LvNHseIvDekTPxkAbmfg/TK+dFdI7Ng+eyCsj6nQeAprLEIHdH0qYKVig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618526161; a=rsa-sha256; cv=none; b=NKVx8F316LRaEJMS318kj0IOBpYVz/7wqZNLVkBoluRq1mT6iUsNDkovhx/8Zg5pem0Iw6 e6f8T1vypVLdJJsByRI89wJbVUc6P4wEQ7VKMphAxa+B754GoALo/+jzx4pfdj92oBP7Pn YzoamYhbAMATN4Z/iJSdCo9wv08a/siGyaX770sF3vt/iQtJbm7VdRYgXJ2VplRjknPQse f4ldhYuG+0Yxcq8crvR5cFdbmof9A4YTRYbxNtAz8VFh17uMK5iRm69BbAYoA7fhW4A4yH IdD0+N3SO8fusaDsDpqTu2muFuzrweBR2rIRG7GaEPKyJKUWilXziM8lzy2/ig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 607CFC943 X-Spam-Score: -2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: yhJm0SDKVh7W Dear Guixters, Maybe I am asking too much to Guix haha. Maybe I don't. So. Here is what I intend to do : I want to write a Guix System definition that puts a .emacs.d directory inside /root which is "usable". I don't feel the need to create a regular user (I don't fear too much damages inside a disposable VM context). So I tried two options : First, using an extra-special-file (extra-special-file "/root/.emacs.d" (local-file "emacs.d" #:recursive? #t)) But the resulting .emacs.d is put into the store and is not writable. Second, using skeletons (skeletons `((".emacs.d" ,(local-file "emacs.d" #:recursive? #t)))) But it seems it populate only regular users home directory. /root is left empty. Perhaps the issue is the local-file. Perhaps I could change the resulting extra-special-file permissions if it does not mess up the store. Or perhaps I could create a regular user. What would be "the way" ? haha Cheers, Jérémy