mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 14:10:33 +03:00
Merge pull request #147441 from pennae/option-doc-staticizing
nixos/*: add trivial defaultText to options where applicable
This commit is contained in:
commit
862d167f17
64 changed files with 109 additions and 10 deletions
|
@ -79,6 +79,7 @@ in
|
|||
email = mkOption {
|
||||
type = types.str;
|
||||
default = "ihatemoney@${config.networking.hostName}";
|
||||
defaultText = literalExpression ''"ihatemoney@''${config.networking.hostName}"'';
|
||||
description = "The email of the sender of ihatemoney emails";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -9,6 +9,7 @@ in
|
|||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.openwebrx;
|
||||
defaultText = literalExpression "pkgs.openwebrx";
|
||||
description = "OpenWebRX package to use for the service";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -234,6 +234,7 @@ in {
|
|||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
default = pkgs.peertube;
|
||||
defaultText = lib.literalExpression "pkgs.peertube";
|
||||
description = "Peertube package to use.";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue