Skip to content

Commit

Permalink
Removes lib.mdDoc calls in hosts.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
willemml committed May 6, 2024
1 parent 9cbd65f commit 4afe1e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/networking/hosts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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.
'';
};
Expand All @@ -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`.
'';
};
Expand All @@ -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.
'';
Expand Down

0 comments on commit 4afe1e8

Please sign in to comment.