Files
sydnix/modules/nixos/defaults/documentation.nix
Madeleine Sydney Ślaga 0ea963c879 chore: Fix tree-wide permissions
No idea why everything was executable, lol.
2025-09-08 06:08:20 -06:00

31 lines
551 B
Nix

{ config, lib, pkgs, ... }:
with lib;
let cfg = config.sydnix.defaults.documentation;
in {
options = {
sydnix.defaults.documentation = {
enable = mkOption {
description = "Madeleine's default documentation settings";
default = true;
type = types.bool;
};
};
};
config = mkIf cfg.enable {
documentation = {
man.enable = true;
info.enable = true;
};
environment.systemPackages = with pkgs; [
man-pages
stdman
man-pages-posix
stdmanpages
];
};
}