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

15 lines
212 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; [pyright];
};
}