From 11b09b10e4404b3247ea6f56fb2248102e8e33d8 Mon Sep 17 00:00:00 2001 From: Emily Date: Sat, 1 Jul 2023 11:30:46 +0100 Subject: [PATCH] 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. --- modules/programs/aerc-accounts.nix | 4 ++++ modules/programs/papis.nix | 1 + modules/programs/thunderbird.nix | 1 + 3 files changed, 6 insertions(+) diff --git a/modules/programs/aerc-accounts.nix b/modules/programs/aerc-accounts.nix index 4e852eb88..81a985f1b 100644 --- a/modules/programs/aerc-accounts.nix +++ b/modules/programs/aerc-accounts.nix @@ -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."; }; }; }); diff --git a/modules/programs/papis.nix b/modules/programs/papis.nix index 9a43f15ff..69d1db34f 100644 --- a/modules/programs/papis.nix +++ b/modules/programs/papis.nix @@ -71,6 +71,7 @@ in { }; }; })); + description = "Attribute set of papis libraries."; }; }; diff --git a/modules/programs/thunderbird.nix b/modules/programs/thunderbird.nix index c072c984f..b74ae8fd0 100644 --- a/modules/programs/thunderbird.nix +++ b/modules/programs/thunderbird.nix @@ -207,6 +207,7 @@ in { }; }; })); + description = "Attribute set of Thunderbird profiles."; }; settings = mkOption {