hmServices, refactor extension, home to automatic
This commit is contained in:
parent
e2e3598230
commit
49cb3c949c
10 changed files with 12 additions and 19 deletions
15
hmModules/services/manpages/service.nix
Normal file
15
hmModules/services/manpages/service.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
options.manpages = {
|
||||
enable = lib.mkEnableOption "Enables manpager";
|
||||
};
|
||||
|
||||
config = lib.mkIf config.manpages.enable {
|
||||
programs.man.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
man-pages
|
||||
man-pages-posix
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue