mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 09:39:42 +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 ];
|
||
|
};
|
||
|
}
|