summaryrefslogtreecommitdiffstats
path: root/nixos/modules/system/boot/resolved.nix
diff options
context:
space:
mode:
authorstuebinm <stuebinm@disroot.org>2024-04-13 14:54:15 +0200
committerJonathan Ringer <jonringer@users.noreply.github.com>2024-04-13 10:07:35 -0700
commit6afb255d976f85f3359e4929abd6f5149c323a02 (patch)
treeced23a118ee0852174d31005acd16f04cad3a781 /nixos/modules/system/boot/resolved.nix
parent1dd996e59a5e67694b7a252aacba71a88d51b41e (diff)
nixos: remove all uses of lib.mdDoc
these changes were generated with nixq 0.0.2, by running nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix two mentions of the mdDoc function remain in nixos/, both of which are inside of comments. Since lib.mdDoc is already defined as just id, this commit is a no-op as far as Nix (and the built manual) is concerned.
Diffstat (limited to 'nixos/modules/system/boot/resolved.nix')
-rw-r--r--nixos/modules/system/boot/resolved.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/nixos/modules/system/boot/resolved.nix b/nixos/modules/system/boot/resolved.nix
index c42c88163c56..64a15179438f 100644
--- a/nixos/modules/system/boot/resolved.nix
+++ b/nixos/modules/system/boot/resolved.nix
@@ -15,7 +15,7 @@ in
services.resolved.enable = mkOption {
default = false;
type = types.bool;
- description = lib.mdDoc ''
+ description = ''
Whether to enable the systemd DNS resolver daemon, `systemd-resolved`.
Search for `services.resolved` to see all options.
@@ -26,7 +26,7 @@ in
default = null;
example = [ "8.8.8.8" "2001:4860:4860::8844" ];
type = types.nullOr (types.listOf types.str);
- description = lib.mdDoc ''
+ description = ''
A list of IPv4 and IPv6 addresses to use as the fallback DNS servers.
If this option is null, a compiled-in list of DNS servers is used instead.
Setting this option to an empty list will override the built-in list to an empty list, disabling fallback.
@@ -38,7 +38,7 @@ in
defaultText = literalExpression "config.networking.search";
example = [ "example.com" ];
type = types.listOf types.str;
- description = lib.mdDoc ''
+ description = ''
A list of domains. These domains are used as search suffixes
when resolving single-label host names (domain names which
contain no dot), in order to qualify them into fully-qualified
@@ -55,7 +55,7 @@ in
default = "true";
example = "false";
type = types.enum [ "true" "resolve" "false" ];
- description = lib.mdDoc ''
+ description = ''
Controls Link-Local Multicast Name Resolution support
(RFC 4795) on the local host.
@@ -70,7 +70,7 @@ in
default = "false";
example = "true";
type = types.enum [ "true" "allow-downgrade" "false" ];
- description = lib.mdDoc ''
+ description = ''
If set to
- `"true"`:
all DNS lookups are DNSSEC-validated locally (excluding
@@ -99,7 +99,7 @@ in
default = "false";
example = "true";
type = types.enum [ "true" "opportunistic" "false" ];
- description = lib.mdDoc ''
+ description = ''
If set to
- `"true"`:
all DNS lookups will be encrypted. This requires
@@ -121,7 +121,7 @@ in
services.resolved.extraConfig = mkOption {
default = "";
type = types.lines;
- description = lib.mdDoc ''
+ description = ''
Extra config to append to resolved.conf.
'';
};