Some services have the same options such as
listenToPorts address:port, address:port
or kind of service admin (eg apache and squid)
Should we strive for keeping the nixos interface simple and looking the
same for all services or should we try to sue the original names
(eg apache adminAddr = "[EMAIL PROTECTED]" squid: cache_mgr = "[EMAIL
PROTECTED]" ) ?
When using the same names you could do something like this:
services = map (x : x // { adminAddr = "[EMAIL PROTECTED]" }) {
httpd = ...
squid = ...
...
}
to make sure the admin adress is set correctly everywhere used?
Or is there another way to handle this?
Do you agree that this could be useful?
Marc Weber
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev