systemd: fix unit examples

Closes #823
This commit is contained in:
Robert Helgesson 2019-08-29 19:12:39 +02:00
parent 7c76ae1814
commit 875eea1330
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -81,6 +81,7 @@ let
unitExample = type: literalExample ''
{
${toLower type}-name = {
Unit = {
Description = "Example description";
Documentation = [ "man:example(1)" "man:example(5)" ];
@ -90,6 +91,7 @@ let
};
}
};
'';
sessionVariables = mkIf (cfg.sessionVariables != {}) {