From 6a8d882a10081877c7b59fc484ce1e067c93a899 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 23 Jan 2024 09:50:14 +0000 Subject: [PATCH] Add pypoetry config file, move ipython_config into home directory --- home/default.nix | 1 + ipython_config.py => home/ipython_config.py | 0 home/poetry-config.toml | 9 +++++++++ 3 files changed, 10 insertions(+) rename ipython_config.py => home/ipython_config.py (100%) create mode 100644 home/poetry-config.toml diff --git a/home/default.nix b/home/default.nix index f6554315..784c055c 100644 --- a/home/default.nix +++ b/home/default.nix @@ -11,6 +11,7 @@ }; xdg.configFile = { "bat/themes/Catppuccin-mocha.tmTheme".source = ./Catppuccin-mocha.tmTheme; + "pypoetry/config.toml".source = ./poetry-config.toml; "jupyter/jupyter_server_config.py".source = ./jupyter-config/jupyter_server_config.py; "jupyter/jupyter_nbconvert_config.py".source = diff --git a/ipython_config.py b/home/ipython_config.py similarity index 100% rename from ipython_config.py rename to home/ipython_config.py diff --git a/home/poetry-config.toml b/home/poetry-config.toml new file mode 100644 index 00000000..acda707f --- /dev/null +++ b/home/poetry-config.toml @@ -0,0 +1,9 @@ +[virtualenvs] +create = true +in-project = true + +[virtualenvs.options] +always-copy = true +no-pip = true +no-setuptools = true +system-site-packages = true