[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to split config.scm in multiple files

From: Giovanni Biscuolo
Subject: Re: how to split config.scm in multiple files
Date: Tue, 27 Nov 2018 18:57:08 +0100

Hi Ludo,

address@hidden (Ludovic Courtès) writes:


> The ‘include’ form exists but you would need to use it at the top
> level.

OK, got it thanks!

> However, I recommend using Guile’s module system instead.  An example of
> that can be found here:
>   • modules:

ooooh: maintenance.git is *almost* more interesting than the guix manual
itself :-O

>   • config files that use these modules:

OK I'm still not able to hack my modules in Guile but that code is clear enough
for me to understand how it works... and it's great! (\me study!)

IaGC [1] is much more... *functional* than other forms of IaC :-)

> Here, assuming you’re in the hydra/ directory, you’d simply run, say:
>   guix system reconfigure -L ./modules ./berlin.scm

got it!


[1] Infrastructure as Guile Code

Giovanni Biscuolo

Xelera IT Infrastructures

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]