From 8db6372a010f1bd3399d9d71451517bacd7d3c89 Mon Sep 17 00:00:00 2001 From: Laurent Gueret Date: Fri, 13 Feb 2026 23:35:59 +0100 Subject: [PATCH] Readd python --- hosts/darwin/system/os.nix | 4 ++-- modules/home/common/env/python.nix | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 modules/home/common/env/python.nix diff --git a/hosts/darwin/system/os.nix b/hosts/darwin/system/os.nix index 795c4aa..345fed0 100644 --- a/hosts/darwin/system/os.nix +++ b/hosts/darwin/system/os.nix @@ -6,10 +6,10 @@ # Homebrew apps os.homebrew.iterm.enable = true; os.homebrew.zed.enable = true; - os.homebrew.jetbrain.enable = true; + os.homebrew.jetbrain.enable = false; os.homebrew.iina.enable = true; os.homebrew.zen.enable = true; os.homebrew.obsidian.enable = true; - os.homebrew.microsoft.enable = true; + os.homebrew.microsoft.enable = false; os.homebrew.keka.enable = true; } diff --git a/modules/home/common/env/python.nix b/modules/home/common/env/python.nix new file mode 100644 index 0000000..3928dbf --- /dev/null +++ b/modules/home/common/env/python.nix @@ -0,0 +1,23 @@ +{ + pkgs, + lib, + config, + ... +}: +with lib; +let + cfg = config.home.env.python; +in +{ + options.home.env.python = { + enable = mkEnableOption "Zen Editor options"; + }; + config = mkIf cfg.enable { + + home.packages = with pkgs; [ + python3 + uv + ]; + + }; +}