all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Guix System definition with a .emacs.d filled
@ 2021-04-15 22:30 Jérémy Korwin-Zmijowski
  2021-04-16 14:06 ` Joshua Branson
  2021-04-16 22:16 ` Jelle Licht
  0 siblings, 2 replies; 6+ messages in thread
From: Jérémy Korwin-Zmijowski @ 2021-04-15 22:30 UTC (permalink / raw)
  To: Guix Help

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-04-17 13:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-15 22:30 Guix System definition with a .emacs.d filled Jérémy Korwin-Zmijowski
2021-04-16 14:06 ` Joshua Branson
2021-04-16 21:04   ` Jérémy Korwin-Zmijowski
2021-04-17 13:53     ` Joshua Branson
2021-04-16 22:16 ` Jelle Licht
2021-04-17  8:35   ` Jérémy Korwin-Zmijowski

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.