ng0 <n...@we.make.ritual.n0.is> skribis:

> Our default config (torrc) is not so pleasant (well, it's
> intentional minimal). I have torrc values, unrelated to
> hidden-service, I need to add. Like, exclude certain countries
> etc. For this I want to understand how a file-like object would
> look like in the context of (services) in config.scm, so I can be
> sure I apply the correct thing.

Oh, well:

  (tor-service (plain-file "tor.conf" "OptionOne Foo\nOptionTwo Bar\n“))

or:

  (tor-service (local-file "../my-tor.conf"))

HTH,
Ludo’.

Reply via email to