From 5580a38a45f5610ae1a9b2730da6bd6813203111 Mon Sep 17 00:00:00 2001 From: willemml Date: Sun, 5 May 2024 11:52:51 -0700 Subject: [PATCH] Removes lib.mdDoc calls in hosts.nix --- modules/networking/hosts.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/networking/hosts.nix b/modules/networking/hosts.nix index 93ade0db3..d283499bf 100644 --- a/modules/networking/hosts.nix +++ b/modules/networking/hosts.nix @@ -10,7 +10,7 @@ }: let inherit (lib) types mkBefore; inherit (lib.lists) optional; - inherit (lib.options) literalExpression literalMD; + inherit (lib.options) literalExpression; inherit (lib.attrsets) attrNames filterAttrs; inherit (lib.strings) concatStringsSep concatMapStrings; cfg = config.networking; @@ -24,7 +24,7 @@ in { "192.168.0.2" = [ "fileserver.local" "nameserver.local" ]; }; ''; - description = lib.mdDoc '' + description = '' Locally defined maps of hostnames to IP addresses. ''; }; @@ -33,7 +33,7 @@ in { type = types.listOf types.path; defaultText = literalMD "Hosts from {option}`networking.hosts` and {option}`networking.extraHosts`"; example = literalExpression ''[ "''${pkgs.my-blocklist-package}/share/my-blocklist/hosts" ]''; - description = lib.mdDoc '' + description = '' Files that should be concatenated together to form {file}`/etc/hosts`. ''; }; @@ -42,7 +42,7 @@ in { type = types.lines; default = ""; example = "192.168.0.1 lanlocalhost"; - description = lib.mdDoc '' + description = '' Additional verbatim entries to be appended to {file}`/etc/hosts`. For adding hosts from derivation results, use {option}`networking.hostFiles` instead. '';