mirror of
https://github.com/nix-community/home-manager
synced 2025-01-24 09:59:50 +01:00
systemd: fix unit examples
Closes #823
(cherry picked from commit 875eea1330
)
This commit is contained in:
parent
46eaee3262
commit
76ba4bedff
1 changed files with 10 additions and 8 deletions
|
@ -81,6 +81,7 @@ let
|
||||||
|
|
||||||
unitExample = type: literalExample ''
|
unitExample = type: literalExample ''
|
||||||
{
|
{
|
||||||
|
${toLower type}-name = {
|
||||||
Unit = {
|
Unit = {
|
||||||
Description = "Example description";
|
Description = "Example description";
|
||||||
Documentation = [ "man:example(1)" "man:example(5)" ];
|
Documentation = [ "man:example(1)" "man:example(5)" ];
|
||||||
|
@ -90,6 +91,7 @@ let
|
||||||
…
|
…
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
};
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sessionVariables = mkIf (cfg.sessionVariables != {}) {
|
sessionVariables = mkIf (cfg.sessionVariables != {}) {
|
||||||
|
|
Loading…
Reference in a new issue