Am 20.11.2016 um 13:49 schrieb Julien Lepiller: > What do you think? should I continue in that direction, or should I go > back to what I was doing before?
Thanks for working on this. I will give it a try the next days. But I want to share two points going around in my head: 1) I propose moving the nginx service into a package gnu/service/nginx.scm. Imagine we will implement an equal complex config schema for apache. Then we will get a beast of code with lots of useless "nginx-" prefixes. 2) Is it possible to add some magic to e.g. "nginx-service-type" so that all identifiers within are searched in the "nginx" scope. Example: (service-extension nginx-service-type (const (list (server ;; taken from "nginx" scope (blocks (list)) (configs (list (option (type 'server_name) ;; taken from "nginx" scope (value (list 'default))) -- Regards Hartmut Goebel | Hartmut Goebel | h.goe...@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |