Refactor codebase to use nix modules

This commit is contained in:
Julia Lange 2024-04-14 05:40:02 -07:00
parent a4735423b4
commit ffada2703c
114 changed files with 1018 additions and 744 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
];
};
}