hmServices, refactor extension, home to automatic

This commit is contained in:
Julia Lange 2024-11-29 02:20:20 -08:00
parent e2e3598230
commit 49cb3c949c
Signed by: Julia
SSH key fingerprint: SHA256:KI8YxpkPRbnDRkXPgCuQCVz181++Vy7NAvmQj8alOhM
10 changed files with 12 additions and 19 deletions

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