diff --git a/modules/home/docs.nix b/modules/home/docs.nix index b15f80d5..158805ec 100644 --- a/modules/home/docs.nix +++ b/modules/home/docs.nix @@ -1,16 +1,11 @@ -{ lib, ... }: -let - inherit (lib.attrsets) mapAttrs; - inherit (lib.modules) mkForce; -in +# I don't use docs, so just disable them +# +# the docs also create issues that are really hard to debug +# such as ones where lib does not get passed correctly, +# see an example of me complaining and then finding this as the fix +# https://akko.isabelroses.com/notice/AkdGj5udRhYIKqTeng { - # I don't use docs, so just disable them - # - # the docs also create issues that are really hard to debug - # such as ones where lib does not get passed correctly, - # see an example of me complaining and then finding this as the fix - # https://akko.isabelroses.com/notice/AkdGj5udRhYIKqTeng - manual = mapAttrs (_: mkForce) { + manual = { html.enable = false; json.enable = false; manpages.enable = false;