diff --git a/nixos/modules/services/networking/unbound.nix b/nixos/modules/services/networking/unbound.nix index c03912ed21fa..66451328dddd 100644 --- a/nixos/modules/services/networking/unbound.nix +++ b/nixos/modules/services/networking/unbound.nix @@ -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.