1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-16 08:09:45 +01:00

treewide: add missing option descriptions

The new options processor errors out on these by default, and it's
good for every option to have documentation in general.
This commit is contained in:
Emily 2023-07-01 11:30:46 +01:00
parent 59b933653a
commit 11b09b10e4
3 changed files with 6 additions and 0 deletions

View file

@ -18,18 +18,22 @@ let
token_endpoint = mkOption {
type = nullOr str;
default = null;
description = lib.mdDoc "The OAuth2 token endpoint.";
};
client_id = mkOption {
type = nullOr str;
default = null;
description = lib.mdDoc "The OAuth2 client identifier.";
};
client_secret = mkOption {
type = nullOr str;
default = null;
description = lib.mdDoc "The OAuth2 client secret.";
};
scope = mkOption {
type = nullOr str;
default = null;
description = lib.mdDoc "The OAuth2 requested scope.";
};
};
});

View file

@ -71,6 +71,7 @@ in {
};
};
}));
description = "Attribute set of papis libraries.";
};
};

View file

@ -207,6 +207,7 @@ in {
};
};
}));
description = "Attribute set of Thunderbird profiles.";
};
settings = mkOption {