Skip to content

Commit

Permalink
feat(darwin/docs): disable all documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
isabelroses committed Sep 30, 2024
1 parent 949d61b commit 31f2570
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions home/isabel/packages/cli/shell/bash.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
{
programs.bash = {
enable = true;
# completion.enable = true;

historyFile = "${config.xdg.stateHome}/bash/history";
historyFileSize = 1000;
Expand Down
17 changes: 17 additions & 0 deletions modules/darwin/documentation.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{ lib, ... }:
let
inherit (lib.modules) mkForce;
inherit (lib.attrsets) mapAttrs;
in
{
documentation = mapAttrs (_: mkForce) {
enable = false;
info.enable = false;
doc.enable = false;
};

programs = {
info.enable = false;
man.enable = false;
};
}

0 comments on commit 31f2570

Please sign in to comment.