diff options
author | Jan Malakhovski <oxij@oxij.org> | 2018-03-26 18:22:04 +0000 |
---|---|---|
committer | Jan Malakhovski <oxij@oxij.org> | 2018-03-30 06:52:26 +0000 |
commit | 98fd9b7f86e9548931935c1bb0c8f7fe5e5eb680 (patch) | |
tree | 2bcef86801233623be1d35d7faa33fbf9738a04c /nixos/modules/programs | |
parent | a7af5d4f88f9e30bc9b401a84b7cb3cf036fccbb (diff) | |
download | nixlib-98fd9b7f86e9548931935c1bb0c8f7fe5e5eb680.tar nixlib-98fd9b7f86e9548931935c1bb0c8f7fe5e5eb680.tar.gz nixlib-98fd9b7f86e9548931935c1bb0c8f7fe5e5eb680.tar.bz2 nixlib-98fd9b7f86e9548931935c1bb0c8f7fe5e5eb680.tar.lz nixlib-98fd9b7f86e9548931935c1bb0c8f7fe5e5eb680.tar.xz nixlib-98fd9b7f86e9548931935c1bb0c8f7fe5e5eb680.tar.zst nixlib-98fd9b7f86e9548931935c1bb0c8f7fe5e5eb680.zip |
nixos: doc: introduce `documentation` config subtree
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r-- | nixos/modules/programs/info.nix | 30 | ||||
-rw-r--r-- | nixos/modules/programs/man.nix | 31 |
2 files changed, 0 insertions, 61 deletions
diff --git a/nixos/modules/programs/info.nix b/nixos/modules/programs/info.nix deleted file mode 100644 index be6439dca5ad..000000000000 --- a/nixos/modules/programs/info.nix +++ /dev/null @@ -1,30 +0,0 @@ -{ config, lib, pkgs, ... }: - -with lib; - -{ - - options = { - - programs.info.enable = mkOption { - type = types.bool; - default = true; - description = '' - Whether to enable info pages and the <command>info</command> command. - ''; - }; - - }; - - - config = mkIf config.programs.info.enable { - - environment.systemPackages = [ pkgs.texinfoInteractive ]; - - environment.pathsToLink = [ "/info" "/share/info" ]; - - environment.extraOutputsToInstall = [ "info" ]; - - }; - -} diff --git a/nixos/modules/programs/man.nix b/nixos/modules/programs/man.nix deleted file mode 100644 index 5b20a38d8856..000000000000 --- a/nixos/modules/programs/man.nix +++ /dev/null @@ -1,31 +0,0 @@ -{ config, lib, pkgs, ... }: - -with lib; - -{ - - options = { - - programs.man.enable = mkOption { - type = types.bool; - default = true; - description = '' - Whether to enable manual pages and the <command>man</command> command. - This also includes "man" outputs of all <literal>systemPackages</literal>. - ''; - }; - - }; - - - config = mkIf config.programs.man.enable { - - environment.systemPackages = [ pkgs.man-db ]; - - environment.pathsToLink = [ "/share/man" ]; - - environment.extraOutputsToInstall = [ "man" ]; - - }; - -} |