mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-26 11:21:34 +01:00
feat: set mirror for pip
This commit is contained in:
7
home/base/server/pip.nix
Normal file
7
home/base/server/pip.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user