Hi Ludo, [email protected] (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: > > https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/modules/sysadmin ooooh: maintenance.git is *almost* more interesting than the guix manual itself :-O > • config files that use these modules: > > https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/berlin.scm > > https://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/build-machine.scm 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! kudos! Giovanni [1] Infrastructure as Guile Code -- Giovanni Biscuolo Xelera IT Infrastructures
signature.asc
Description: PGP signature
