0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/*: automatically convert option descriptions

conversions were done using https://github.com/pennae/nix-doc-munge
using (probably) rev f34e145 running

    nix-doc-munge nixos/**/*.nix
    nix-doc-munge --import nixos/**/*.nix

the tool ensures that only changes that could affect the generated
manual *but don't* are committed, other changes require manual review
and are discarded.
This commit is contained in:
pennae 2022-08-28 21:18:44 +02:00
parent 5a643387ec
commit ef176dcf7e
808 changed files with 1523 additions and 1523 deletions

View file

@ -9,7 +9,7 @@ in
{
options = {
services.prometheus.sachet = {
enable = mkEnableOption "Sachet, an SMS alerting tool for the Prometheus Alertmanager";
enable = mkEnableOption (lib.mdDoc "Sachet, an SMS alerting tool for the Prometheus Alertmanager");
configuration = mkOption {
type = types.nullOr types.attrs;
@ -32,7 +32,7 @@ in
}];
}
'';
description = ''
description = lib.mdDoc ''
Sachet's configuration as a nix attribute set.
'';
};
@ -40,7 +40,7 @@ in
address = mkOption {
type = types.str;
default = "localhost";
description = ''
description = lib.mdDoc ''
The address Sachet will listen to.
'';
};
@ -48,7 +48,7 @@ in
port = mkOption {
type = types.port;
default = 9876;
description = ''
description = lib.mdDoc ''
The port Sachet will listen to.
'';
};