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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
../../public-keys/ssh/${"msyds@sydpc.pub"};
|
../../public-keys/ssh/${"msyds@sydpc.pub"};
|
||||||
|
|
||||||
sydnix = {
|
sydnix = {
|
||||||
|
documentation.enable = true;
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
zotero.enable = true;
|
zotero.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user