This commit is contained in:
2025-03-16 17:36:07 +01:00
parent a4e4ebf40f
commit db2b139f29

View File

@@ -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;