feat: set mirror for pip

This commit is contained in:
Ryan Yin
2024-01-25 14:59:22 +08:00
parent 86bdd6539c
commit 7e36360550

7
home/base/server/pip.nix Normal file
View File

@@ -0,0 +1,7 @@
_: {
# use mirror for pip install
xdg.configFile."pip/pip.conf".text = ''
[global]
index-url = https://mirrors.bfsu.edu.cn/pypi/web/simple
'';
}