nixdots/home/programs/terminal/coding/python/mypy.nix
2024-06-27 00:26:29 +02:00

15 lines
229 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 ];
};
}