build(python): align toolchain with monorepo pattern

This commit is contained in:
2026-09-06 17:18:14 -04:00
parent c85993c196
commit 884789d676
7 changed files with 97 additions and 23 deletions

View File

@@ -13,6 +13,8 @@ in
options.modules.shell.python.enable = lib.mkEnableOption "Python tools for the primary user's shell environment";
config = lib.mkIf cfg.enable {
registry.env-var.${config.networking.hostName}.PYTHON_TOOLCHAIN_ROOT = "${pkgs.python3}";
home-manager.users.${user}.home.packages = [ pkgs.python3 ];
};
}