mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-29 12:04:35 +00:00
15 lines
232 B
Nix
15 lines
232 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.ipython ];
|
||
|
};
|
||
|
}
|