man: prepare for new programs.man options

This commit is contained in:
Damien Cassou 2020-09-09 08:11:36 +02:00 committed by Robert Helgesson
parent 605a8fc92e
commit 812b64d4d3
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -4,7 +4,8 @@ with lib;
{
options = {
programs.man.enable = mkOption {
programs.man = {
enable = mkOption {
type = types.bool;
default = true;
description = ''
@ -14,6 +15,7 @@ with lib;
'';
};
};
};
config = mkIf config.programs.man.enable {
home.packages = [ pkgs.man ];