nixdots/home/programs/terminal/coding/python/pyright.nix
2024-06-26 23:48:04 +02:00

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