Re: How to use guix-publish with a restricted guix-daemon?

2025-03-18 Thread Dariqq
I worked around this by also setting the guix-publish user as the owner instead of root. This feels like a bit of a hack but it works. On 25.02.25 20:34, Dariqq wrote: Hello, I recently discovered that guix-configuration offers a way to set the permission and owner of the directory containin

Re: Guix SD idiomatic system backup and restore

2025-03-18 Thread Laurence Rochfort
Those are all good points, thanks Edouard. I had considered using a guix system image definition to build an image that could be DD'd onto a new system disk. However, I'm using btrfs inside a cryptroot, and btrfs doesn't appear to be supported by the image definitions at present. On Tue, 18 Mar

Re: Guix SD idiomatic system backup and restore

2025-03-18 Thread Edouard Klein
Hi ! That sounds about right. Be careful though that the guix installation image often is widely out of date. It may therefore take quite long to install your system, if it works at all (if will fail if you use packages that were not defined when the installer was created, or if you use channels).

Re: Guix SD idiomatic system backup and restore

2025-03-18 Thread Edouard Klein
I think you can work around that by creating a btrfs filesystem on an image file, mounting it, and guix system init-ing your system on the mount point, then unmounting. This is untested, and I'm not sure how to make it so the image doesn't take too much space. Maybe converting it to a qcow2 at som

Guix SD idiomatic system backup and restore

2025-03-18 Thread Laurence Rochfort
Hello all, I have my whole system declaratively configured using config.scm and home-configuration.scm stored in my home directory. My entire home folder is backed up by btrbk every hour to an external location. Am I correct in thinking that to restore from a failed disk it is sufficient to: - B