mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
treewide: fix mkEnableOption
arguments
`mkEnableOption` wraps its argument in a full sentence; its argument should not include the start of a sentence or the final full stop.
This commit is contained in:
parent
11b09b10e4
commit
e2a1cb50d8
4 changed files with 9 additions and 10 deletions
|
@ -118,7 +118,7 @@ in {
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
programs.himalaya = {
|
programs.himalaya = {
|
||||||
enable = lib.mkEnableOption "Enable the Himalaya email client.";
|
enable = lib.mkEnableOption "the Himalaya email client";
|
||||||
package = lib.mkPackageOption pkgs "himalaya" { };
|
package = lib.mkPackageOption pkgs "himalaya" { };
|
||||||
settings = lib.mkOption {
|
settings = lib.mkOption {
|
||||||
type = lib.types.submodule { freeformType = tomlFormat.type; };
|
type = lib.types.submodule { freeformType = tomlFormat.type; };
|
||||||
|
@ -132,8 +132,7 @@ in {
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
himalaya-notify = {
|
himalaya-notify = {
|
||||||
enable =
|
enable = lib.mkEnableOption "the Himalaya new emails notifier service";
|
||||||
lib.mkEnableOption "Enable the Himalaya new emails notifier service.";
|
|
||||||
|
|
||||||
environment = lib.mkOption {
|
environment = lib.mkOption {
|
||||||
type = with lib.types; attrsOf str;
|
type = with lib.types; attrsOf str;
|
||||||
|
@ -171,8 +170,8 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
himalaya-watch = {
|
himalaya-watch = {
|
||||||
enable = lib.mkEnableOption
|
enable =
|
||||||
"Enable the Himalaya folder changes watcher service.";
|
lib.mkEnableOption "the Himalaya folder changes watcher service";
|
||||||
|
|
||||||
environment = lib.mkOption {
|
environment = lib.mkOption {
|
||||||
type = with lib.types; attrsOf str;
|
type = with lib.types; attrsOf str;
|
||||||
|
@ -213,7 +212,7 @@ in {
|
||||||
accounts.email.accounts = lib.mkOption {
|
accounts.email.accounts = lib.mkOption {
|
||||||
type = lib.types.attrsOf (lib.types.submodule {
|
type = lib.types.attrsOf (lib.types.submodule {
|
||||||
options.himalaya = {
|
options.himalaya = {
|
||||||
enable = lib.mkEnableOption "Enable Himalaya for this email account.";
|
enable = lib.mkEnableOption "Himalaya for this email account";
|
||||||
|
|
||||||
# TODO: remove me for the next release
|
# TODO: remove me for the next release
|
||||||
backend = lib.mkOption {
|
backend = lib.mkOption {
|
||||||
|
|
|
@ -15,7 +15,7 @@ in {
|
||||||
options = {
|
options = {
|
||||||
programs.sioyek = {
|
programs.sioyek = {
|
||||||
enable = mkEnableOption
|
enable = mkEnableOption
|
||||||
"Sioyek is a PDF viewer designed for reading research papers and technical books.";
|
"Sioyek, a PDF viewer designed for reading research papers and technical books";
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
default = pkgs.sioyek;
|
default = pkgs.sioyek;
|
||||||
|
|
|
@ -83,11 +83,11 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
enableBashIntegration = mkEnableOption "WezTerm's Bash integration." // {
|
enableBashIntegration = mkEnableOption "WezTerm's Bash integration" // {
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
enableZshIntegration = mkEnableOption "WezTerm's Zsh integration." // {
|
enableZshIntegration = mkEnableOption "WezTerm's Zsh integration" // {
|
||||||
default = true;
|
default = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -209,7 +209,7 @@ in {
|
||||||
|
|
||||||
bounce = {
|
bounce = {
|
||||||
enable = mkEnableOption
|
enable = mkEnableOption
|
||||||
"notification bounce when displaying next notification directly.";
|
"notification bounce when displaying next notification directly";
|
||||||
|
|
||||||
duration = mkOption {
|
duration = mkOption {
|
||||||
type = types.ints.unsigned;
|
type = types.ints.unsigned;
|
||||||
|
|
Loading…
Reference in a new issue