unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* guix system disk-image: preset user profiles (packages & arbitrary data)
@ 2018-06-23 19:58 Pierre Neidhardt
  2018-06-25 12:59 ` Pierre Neidhardt
  2018-06-26 11:35 ` Ludovic Courtès
  0 siblings, 2 replies; 6+ messages in thread
From: Pierre Neidhardt @ 2018-06-23 19:58 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]


Hi there,

I'd like to built a live disk-image for a USB stick I carry around with
me.  Booting it would result in the exact configuration I have on my
machine.

I can create a disk image with:

> guix system disk-image ~/.guix-config/config.scm

Then boot the live and set up my user profile as follows:

--8<---------------cut here---------------start------------->8---
## First retrieve my GPG keys.
## Then retrieve my dotfiles:
> git clone https://
## Custom script to install the dotfiles and install the Guix packages.
> ./dotfiles/.local/bin/homeinit
## Log out and in again.
--8<---------------cut here---------------end--------------->8---

Ideally I'd rather spare those few steps on each reboot, so I'd like to
create a disk image containing a user profile that comes with a
selection of packages and some arbitrary data (my dotfiles).

I wonder if it's doable from an operating system declaration.

I'm also wondering now if the USB stick is writable.  That would solve
it then.

Any insight?

--
Pierre Neidhardt

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2018-07-02 15:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-23 19:58 guix system disk-image: preset user profiles (packages & arbitrary data) Pierre Neidhardt
2018-06-25 12:59 ` Pierre Neidhardt
2018-06-26 11:35 ` Ludovic Courtès
2018-06-26 13:01   ` Pierre Neidhardt
2018-06-28 13:00   ` Pierre Neidhardt
2018-07-02 15:21     ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).