uv
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# https://nix-community.github.io/home-manager/options.html
|
||||
{ pkgs, config, ... }:
|
||||
{ pkgs, lib, config, ... }:
|
||||
{
|
||||
#nixpkgs.config.allowUnfree = true;
|
||||
home.stateVersion = "23.11";
|
||||
@@ -134,6 +134,14 @@
|
||||
]))
|
||||
];
|
||||
|
||||
# https://docs.astral.sh/uv/configuration/files/
|
||||
# https://docs.astral.sh/uv/reference/settings/
|
||||
xdg.configFile."uv/uv.toml".source = (pkgs.formats.toml { }).generate "uv-config" {
|
||||
python-downloads = "never";
|
||||
python-preference = "only-system";
|
||||
pip.index-url = "https://test.pypi.org/simple";
|
||||
};
|
||||
|
||||
xdg.configFile."ptpython/config.py" = {
|
||||
source = ./files/ptpython-config.py;
|
||||
force = true;
|
||||
|
||||
Reference in New Issue
Block a user