nixos/*: escape pkgs reference in examples and descriptions

This commit is contained in:
pennae 2021-11-26 01:16:07 +01:00
parent 3e9c5fc8ca
commit c694c35f9d
5 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@ in {
options = {
services.navidrome = {
enable = mkEnableOption pkgs.navidrome.meta.description;
enable = mkEnableOption "Navidrome music server";
settings = mkOption rec {
type = settingsFormat.type;

View file

@ -299,7 +299,7 @@ in
ENABLED = true;
MAILER_TYPE = "sendmail";
FROM = "do-not-reply@example.org";
SENDMAIL_PATH = "${pkgs.system-sendmail}/bin/sendmail";
SENDMAIL_PATH = "''${pkgs.system-sendmail}/bin/sendmail";
};
other = {
SHOW_FOOTER_VERSION = false;

View file

@ -48,7 +48,7 @@ let
in
{
options.services.epgstation = {
enable = mkEnableOption pkgs.epgstation.meta.description;
enable = mkEnableOption "EPGStation: DTV Software in Japan";
usePreconfiguredStreaming = mkOption {
type = types.bool;

View file

@ -24,7 +24,7 @@ in
{
options = {
services.mirakurun = {
enable = mkEnableOption mirakurun.meta.description;
enable = mkEnableOption "the Mirakurun DVR Tuner Server";
port = mkOption {
type = with types; nullOr port;

View file

@ -150,7 +150,7 @@ in
example = literalExpression ''
{ plasmaSetup = {
text = '''
${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5"
''${pkgs.libsForQt5.kservice}/bin/kbuildsycoca5"
''';
deps = [];
};