nixos/unbound: fix typos in description and comment

This commit is contained in:
a-kenji 2024-08-14 23:50:49 +02:00
parent 0f1d78c276
commit 0f13d8a4ba

View file

@ -33,7 +33,7 @@ let
confFile = if cfg.checkconf then pkgs.runCommandLocal "unbound-checkconf" { } ''
cp ${confFileUnchecked} unbound.conf
# fake stateDir which is not accesible in the sandbox
# fake stateDir which is not accessible in the sandbox
mkdir -p $PWD/state
sed -i unbound.conf \
-e '/auto-trust-anchor-file/d' \
@ -79,7 +79,7 @@ in {
default = !cfg.settings ? include && !cfg.settings ? remote-control;
defaultText = "!services.unbound.settings ? include && !services.unbound.settings ? remote-control";
description = ''
Wether to check the resulting config file with unbound checkconf for syntax errors.
Whether to check the resulting config file with unbound checkconf for syntax errors.
If settings.include is used, this options is disabled, as the import can likely not be accessed at build time.
If settings.remote-control is used, this option is disabled, too as the control-key-file, server-cert-file and server-key-file cannot be accessed at build time.