Fix typos

This commit is contained in:
Sandro - 2023-01-17 02:14:18 +01:00
parent f47672fc25
commit ca65dd5899
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
3 changed files with 5 additions and 7 deletions

View File

@ -4,7 +4,7 @@
mkOpinionatedOption = text: lib.mkOption {
type = lib.types.bool;
default = config.opinionatedDefaults;
description = lib.mdDoc "Wether to ${text}.";
description = lib.mdDoc "Whether to ${text}.";
};
mkRecursiveDefault = lib.mapAttrsRecursive (_path: lib.mkDefault);

View File

@ -2,9 +2,9 @@
{
options.nix = {
deleteChannels = lib.mkEnableOption "" // { description = "Wether to delete all channels on a system switch."; };
deleteChannels = lib.mkEnableOption "" // { description = "Whether to delete all channels on a system switch."; };
deleteUserProfiles = lib.mkEnableOption "" // { description = "Wether to delete all channels on a system switch."; };
deleteUserProfiles = lib.mkEnableOption "" // { description = "Whether to delete all channels on a system switch."; };
};
config = {

View File

@ -8,7 +8,7 @@ in
addToHosts = lib.mkOption {
type = lib.types.bool;
default = false;
description = lib.mdDoc "Wether to add a hosts entry for the portunus domain pointing to externalIp";
description = lib.mdDoc "Whether to add a hosts entry for the portunus domain pointing to externalIp";
};
externalIp4 = lib.mkOption {
@ -26,9 +26,7 @@ in
ldapPreset = lib.mkOption {
type = lib.types.bool;
default = false;
description = lib.mdDoc ''
Wether to set config.security.ldap to portunus specific settings.
'';
description = lib.mdDoc "Whether to set config.security.ldap to portunus specific settings.";
};
};