mirror of
https://github.com/nix-community/home-manager
synced 2025-01-26 19:05:02 +01:00
parent
7c76ae1814
commit
875eea1330
1 changed files with 10 additions and 8 deletions
|
@ -81,15 +81,17 @@ let
|
||||||
|
|
||||||
unitExample = type: literalExample ''
|
unitExample = type: literalExample ''
|
||||||
{
|
{
|
||||||
Unit = {
|
${toLower type}-name = {
|
||||||
Description = "Example description";
|
Unit = {
|
||||||
Documentation = [ "man:example(1)" "man:example(5)" ];
|
Description = "Example description";
|
||||||
};
|
Documentation = [ "man:example(1)" "man:example(5)" ];
|
||||||
|
};
|
||||||
|
|
||||||
${type} = {
|
${type} = {
|
||||||
…
|
…
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
};
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sessionVariables = mkIf (cfg.sessionVariables != {}) {
|
sessionVariables = mkIf (cfg.sessionVariables != {}) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue