feat(documentation): init
This commit is contained in:
16
modules/home/documentation.nix
Normal file
16
modules/home/documentation.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.sydnix.documentation;
|
||||
in {
|
||||
options.sydnix.documentation = {
|
||||
enable = lib.mkEnableOption "Docs";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.extraOutputsToInstall = [
|
||||
"doc"
|
||||
"info"
|
||||
"man"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user