From d7ae3ea7fd17fa6c8be0d70e27980c1a33f8217f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 11 Nov 2026 03:14:56 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(env):=20uv=20reflink=20mod?= =?UTF-8?q?e=20and=20pycache=20out=20of=20projects?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/environment.d/20-python.conf | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .config/environment.d/20-python.conf diff --git a/.config/environment.d/20-python.conf b/.config/environment.d/20-python.conf new file mode 100644 index 0000000..a6df343 --- /dev/null +++ b/.config/environment.d/20-python.conf @@ -0,0 +1,4 @@ +# uv: reflink packages from ~/.cache/uv (separate btrfs subvolume, so hardlinks would fall back to copies) +UV_LINK_MODE=clone +# Keep __pycache__ out of projects, in the snapshot-excluded cache +PYTHONPYCACHEPREFIX=${HOME}/.cache/pycache