diff --git a/hosts/lenar/default.nix b/hosts/lenar/default.nix index 78612b5..9bbf39a 100644 --- a/hosts/lenar/default.nix +++ b/hosts/lenar/default.nix @@ -35,7 +35,7 @@ }; python = { enable = true; - install-older = true; + install-additional = true; }; cli = { enable = true; diff --git a/hosts/work-ntb/default.nix b/hosts/work-ntb/default.nix index 45fa976..b416e65 100644 --- a/hosts/work-ntb/default.nix +++ b/hosts/work-ntb/default.nix @@ -18,7 +18,7 @@ enable = true; install-pycharm = true; }; - python.install-older = true; + python.install-additional = true; }; home-manager = { diff --git a/nixosModules/dev/python.nix b/nixosModules/dev/python.nix index 23073e6..00fc715 100644 --- a/nixosModules/dev/python.nix +++ b/nixosModules/dev/python.nix @@ -14,7 +14,7 @@ in default = false; example = true; }; - install-older = lib.mkOption { + install-additional = lib.mkOption { type = lib.types.bool; default = true; example = true; @@ -30,7 +30,8 @@ in pre-commit uv ] - ++ lib.optionals cfg.install-older [ + ++ lib.optionals cfg.install-additional [ + python313 python311 python310 ];