1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-29 01:48:31 +02:00

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 ];