Hi Guix, Here's a patch serie to add tlp service and fix problems encountered meanwhile.
While generating tlp documentation, I noticed that parts of the generated documentation had this format : @deftypevr @code{tlp-configuration} parameter boolean tlp-enable? instead of this expected format : @deftypevr {@code{tlp-configuration} parameter} boolean tlp-enable? I found that since guile commit 06e4091c9, the expected output is produced. So I used guile 2.1.7 to generate tlp documentation. I also re-generated openvpn documentation which was generated with a guile version producing the wrong output. Thanks, Mathieu Mathieu Othacehe (5): gnu: tlp: Read configuration from /etc/tlp. services: Factorize define-maybe macro. gnu: Add tlp service. doc: Re-generate openvpn service documentation. services: Fix a typo which was corrected in generated doc. doc/guix.texi | 587 ++++++++++++++++++++++++++++++++++++++--- gnu/local.mk | 2 + gnu/packages/linux.scm | 2 +- gnu/services/configuration.scm | 28 +- gnu/services/messaging.scm | 22 +- gnu/services/pm.scm | 406 ++++++++++++++++++++++++++++ gnu/services/vpn.scm | 3 +- 7 files changed, 977 insertions(+), 73 deletions(-) create mode 100644 gnu/services/pm.scm -- 2.12.0