.dotfiles/nix/pkgs/darwin_personal.nix
Martin Larsson 2fda48bbb5 Add python313 to personal machines with pipx, and add pipx to the
already existing 311 python on work machine
2025-04-22 15:27:44 +02:00

17 lines
404 B
Nix

{ pkgs, lib, ... }:
{
home = {
packages = with pkgs; [
(python313.withPackages (pythonPkgs: [
pythonPkgs.pipx
]))
clang
clang-tools
];
};
home.activation.installVectorcode = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
echo "Installing VectorCode with pipx..."
$DRY_RUN_CMD ${pkgs.python311Packages.pipx}/bin/pipx install --force vectorcode
'';
}