Re: Correct way to protect `guix system vm` invocations from garbage collection?

2024-01-05 Thread Julien Lepiller
Hi Ben, If by "as a service", you mean started by the Shepherd, you should be good: the vm path will become alive as it's part of the system. Another solution would be to make it a gc root, which you can do by symlinking it in /var/guix/gc-roots Le 6 janvier 2024 00:31:05 GMT+01:00, Ben Weinst

Re: Laptop won’t boot after Guix install

2024-01-05 Thread Julien Lepiller
Hi Ian, Something similar happened to me before. After reconfiguring a lot of times, the firmaware had no space left for EFI variables. I didn't notice the error message at first because guix system did succeed. Maybe you have some similar errors that don't lead to a failure? What does the last

Laptop won’t boot after Guix install

2024-01-05 Thread Ian Eure
Hello, I have Guix running on one computer already, and wanted to set it up on another, a ThinkPad L390 Yoga. This was previously running Debian, but I wiped it to put Guix on, by running `sudo dd if=/dev/urandom of=/dev/nvme0n1 bs=1M'. After the Guix install, the laptop doesn’t boot -- the

Re: Anyone got distrobox working?

2024-01-05 Thread Csepp
your friendly localhost admin writes: > Fredrik Salomonsson writes: > >> Hi, >> >> I noticed that guix has [distrobox][0] packaged but it does not seem to >> work. >> … > > I have a partial fix pending that I have used successfully to create an Arch > container and run some nontrivial pacman co

Correct way to protect `guix system vm` invocations from garbage collection?

2024-01-05 Thread Ben Weinstein-Raun
Hello! I'm working on setting up permanent virtual machines to run as services. In order for this to work, I think I need to be sure that the various inputs to the vm runner script are kept alive. This includes the kernel, the initrd, and the qemu binary. What's the easiest way to permanently m

Re: Some methods of getting a "login shell" do not create /run/user/ or add a session to loginctl

2024-01-05 Thread Ben Weinstein-Raun
On 01/05/24 14:39, Skyler Ferris wrote: > I was hoping that someone else more knowledgeable might have a better > solution, but since nobody has replied I'll share the less-than-ideal > solution I've been using. Thanks a lot for the response! > Basically, I just use some code to mount tmpfs onto

Re: Some methods of getting a "login shell" do not create /run/user/ or add a session to loginctl

2024-01-05 Thread Skyler Ferris
On 12/30/23 04:45, Ben Weinstein-Raun wrote: > Does anyone know why this would happen, or how to fix it? I'm using the > elogind service on top of %base-services. > I was hoping that someone else more knowledgeable might have a better solution, but since nobody has replied I'll share the less-tha

home-syncthing-service-type wants /root paths, yet syncthing can work

2024-01-05 Thread Sébastien Lerique
Hi Guix! And dear helpers and devs, I'm running into a weird failure of home-syncthing-service-type. Running syncthing manually from the terminal works fine (here's an example log: ). So I Ctrl-C syncthing, then add home-syncthing-service-type to my home-config

Re: Deferring evaluation of a get-secret procedure so -L doesn't evaluate it unless needed for build

2024-01-05 Thread Tomas Volf
Hi, I cannot help you with your question, but completely unsolicited feedback regarding this snippet: On 2024-01-04 12:28:28 -0500, Richard Sent wrote: > --8<---cut here---start->8--- > (define wireguard-lan-secret-service > (service >(wireguard-configura