mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-10 14:42:40 +02:00
@@ -1,7 +1,14 @@
|
||||
_: {
|
||||
# use mirror for pip install
|
||||
# use pypi mirror
|
||||
# filter packages via upload time for supply-chain security
|
||||
xdg.configFile."pip/pip.conf".text = ''
|
||||
[global]
|
||||
index-url = https://mirrors.bfsu.edu.cn/pypi/web/simple
|
||||
|
||||
[install]
|
||||
uploaded-prior-to = P2D
|
||||
'';
|
||||
xdg.configFile."uv/uv.toml".text = ''
|
||||
exclude-newer = "2 days"
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user