From 1797eed26744f8228b74f6f97e6c52b1d61afea8 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Thu, 9 Oct 2025 15:49:25 -0500 Subject: [PATCH] Configure uv on IVR --- home/hosts/ivr/default.nix | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/home/hosts/ivr/default.nix b/home/hosts/ivr/default.nix index 3fab2b0..0fc1ec1 100644 --- a/home/hosts/ivr/default.nix +++ b/home/hosts/ivr/default.nix @@ -48,16 +48,20 @@ in skaffold x ]; - file.".pip/pip.conf".text = ( - lib.strings.concatStringsSep "\n" [ - "[global]" - "retries = 1" - "index-url = https://pypi.python.org/simple" - "extra-index-url =" - " https://pypi.ivrtechnology.com/simple/" - " https://pypidev.ivrtechnology.com/simple/" - ] - ); + file = { + ".pip/pip.conf".text = '' + [global] + retries = 1 + index-url = https://pypi.python.org/simple + extra-index-url = + https://pypidev.ivrtechnology.com/simple/ + ''; + ".config/uv/uv.toml".text = '' + [[index]] + url = "https://pypidev.ivrtechnology.com" + name = "pypidev" + ''; + }; username = username; homeDirectory = "/Users/${username}"; };