Re: How to add a variable with a list of services into another list of services?

2025-04-11 Thread Fernando Martínez González
Hi, Oleander!

Would you mind sharing what error you have?

Oleander via  writes:

> I've tried without success:
>
> (services
> (append
> (list ...)
> bar
> (modify-services %base-services...

I don't think there is anything wrong with what you are trying

  (guile-user)> (let ((a (list 3 4))) (append (list 1 2) a))
  (1 2 3 4)

--
Fernando



Re: How to add a variable with a list of services into another list of services?

2025-04-09 Thread Oleander via
Hi Fernando!

I managed to fix the error thanks to Rutherther on irc. (keyboard-layout 
keyboard-layout) in my xorg config was the wrong part because a struct is 
expected in the field keyboard-layout, but I was giving it a procedure:

(service startx-command-service-type
(xorg-configuration
(keyboard-layout keyboard-layout)
(extra-config...

I moved it out of my OS config where the second keyboard-layout was referring 
to the operating-system's keyboard-layout.

Thanks!

 Original Message 
On Apr 9, 2025, 11:57, Fernando Martínez González wrote:

> Hi, Oleander! Would you mind sharing what error you have? Oleander via  
> writes: > I've tried without success: > > (services > (append > (list ...) > 
> bar > (modify-services %base-services... I don't think there is anything 
> wrong with what you are trying (guile-user)> (let ((a (list 3 4))) (append 
> (list 1 2) a)) (1 2 3 4) -- Fernando