❄️ Dotfiles for our NixOS system configuration.
1# From https://github.com/isabelroses/dotfiles/blob/main/modules/home/docs.nix 2 3{ lib, ... }: 4let 5 inherit (lib.attrsets) mapAttrs; 6 inherit (lib.modules) mkForce; 7in 8{ 9 # I don't use docs, so just disable them 10 # 11 # the docs also create issues that are really hard to debug 12 # such as ones where lib does not get passed correctly, 13 # see an example of me complaining and then finding this as the fix 14 # https://akko.isabelroses.com/notice/AkdGj5udRhYIKqTeng 15 manual = mapAttrs (_: mkForce) { 16 html.enable = false; 17 json.enable = false; 18 manpages.enable = false; 19 }; 20}