[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guix system disk-image: preset user profiles (packages & arbitrary data)
From: |
Pierre Neidhardt |
Subject: |
guix system disk-image: preset user profiles (packages & arbitrary data) |
Date: |
Sat, 23 Jun 2018 21:58:59 +0200 |
User-agent: |
mu4e 1.0; emacs 26.1 |
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
signature.asc
Description: PGP signature
- guix system disk-image: preset user profiles (packages & arbitrary data),
Pierre Neidhardt <=