1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

Removes lib.literalMD from hosts.nix

This commit is contained in:
willemml 2024-07-29 22:20:16 -07:00
parent 4afe1e8e74
commit 9b7720ed70

View file

@ -9,8 +9,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;
@ -31,7 +30,7 @@ in {
networking.hostFiles = lib.mkOption {
type = types.listOf types.path;
defaultText = literalMD "Hosts from {option}`networking.hosts` and {option}`networking.extraHosts`";
defaultText = "Hosts from {option}`networking.hosts` and {option}`networking.extraHosts`";
example = literalExpression ''[ "''${pkgs.my-blocklist-package}/share/my-blocklist/hosts" ]'';
description = ''
Files that should be concatenated together to form {file}`/etc/hosts`.