From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QPLHFBUNemBgRQEAgWs5BA (envelope-from ) for ; Sat, 17 Apr 2021 00:17:57 +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 6qdsEBUNemAyVQAAB5/wlQ (envelope-from ) for ; Fri, 16 Apr 2021 22:17:57 +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 AE22221927 for ; Sat, 17 Apr 2021 00:17:56 +0200 (CEST) Received: from localhost ([::1]:38606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lXWmh-0005f2-Qs for larch@yhetil.org; Fri, 16 Apr 2021 18:17:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXWlu-0005eS-Ik for help-guix@gnu.org; Fri, 16 Apr 2021 18:17:06 -0400 Received: from mail1.fsfe.org ([2001:aa8:ffed:f5f3::151]:36242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lXWlr-0008Ov-Uw for help-guix@gnu.org; Fri, 16 Apr 2021 18:17:06 -0400 From: Jelle Licht To: =?utf-8?B?SsOpcsOpbXk=?= Korwin-Zmijowski , Guix Help Subject: Re: Guix System definition with a .emacs.d filled In-Reply-To: References: Date: Sat, 17 Apr 2021 00:16:57 +0200 Message-ID: <86y2dhkh7q.fsf@fsfe.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2001:aa8:ffed:f5f3::151; envelope-from=jlicht@fsfe.org; helo=mail1.fsfe.org X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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: , 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=1618611476; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=idwre+IFH+aPywWJxcgb0rJmT7YUOapiEa9zD+hOZ88=; b=e/1OJM8ATMWHCXZUfWZ4BH6WhT0xZzppDkMQibVQ50m5pFsuvaaukgFlU3fqen5IBdXcB0 jDL25NdPIT+i9/r3P7eoIi3US5CtkUK5YblT23tnneF7nuEWTParR6RNODtJuqLaSE8AaX Nqruy5J6LIVToN1uaQglp8X7aPntDTz0C8vmj7pgR2BZ5HgufWLgrpqT7SvL29D1h72Oaa eD9KDgECcZH/NS6Tn8z6GBwOv4fRQOAxHyQF+mwviJ9qf9/s8PMog0NEki6wge0GMV7qjr r8PJ41hVwAdlAUgbt+SPny5BHmp4prkl5IjCGKJLC4/USl0xST2ujU8IjOkd2w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618611476; a=rsa-sha256; cv=none; b=fb1vIZcrWQOltA6InHR6zj6pBfL2q2B/TrSCdmrfXtYncgYJYmckT2DJEGFdNuVf1sESIc KBU3Q8m/+aaL97RP/V0KqSMeuhc9G4QwzQ3vYV73HQcvuijU3oGOlVjr6TaXPE0169mwDx 3tx399QJv/DUHZspo0lgHnLUBL7j4/30tmCE+p85tp9DCXf4NxDanFuxYfyLu3Kkm8BdtX yB1DSfOnCxAUdSnHob0CgFcWrBwxFCgekRXzSzyO3WsK5UoeyyTi+Rrjm7IbcDLrpPUrX5 UyCAKFgyLtDGWIlrld3rX+TQm2BoZuju8XuSnkZ4saeeRsx1tpRsLGgwEN26vQ== 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.34 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=fsfe.org (policy=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: AE22221927 X-Spam-Score: -2.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: Q4M8uAsmG593 Hello, J=C3=A9r=C3=A9my Korwin-Zmijowski writes: > Dear Guixters, > > Maybe I am asking too much to Guix haha. Maybe I don't. > > So. Here is what I intend to do :=20 > > 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. I ran into a similar issue some time ago, with the same dillema. The 'solution' that works well enough for me: the `emacs-no-littering' package, with=20 (setq no-littering-etc-directory "/tmp/emacs/etc") no-littering-var-directory "/tmp/emacs/var")) HTH! - Jelle