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: signature.asc
Description: PGP signature

Reply via email to