{ config, pkgs, lib, ... }: let cfg = config.my.home.python; in { options.my.home.python = with lib; { enable = mkEnableOption "python configuration"; }; config.home.packages = with pkgs; lib.mkIf cfg.enable ([ python310 ]); }