nixdots/home/programs/terminal/coding/python/mypy.nix
2024-07-27 01:07:07 +02:00

15 lines
227 B
Nix

{
lib,
pkgs,
osConfig,
...
}: let
inherit (lib) mkIf;
cfg = osConfig.myOptions.home-manager.programs.coding.python;
in {
config = mkIf cfg.enable {
home.packages = with pkgs; [python312Packages.mypy];
};
}