From 0f13d8a4ba4acc2e46c899ed698b1cd3745637e2 Mon Sep 17 00:00:00 2001 From: a-kenji Date: Wed, 14 Aug 2024 23:50:49 +0200 Subject: [PATCH] nixos/unbound: fix typos in description and comment --- nixos/modules/services/networking/unbound.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.