about summary refs log tree commit diff stats
path: root/modules/home.legacy/conf/python/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home.legacy/conf/python/default.nix')
-rw-r--r--modules/home.legacy/conf/python/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/home.legacy/conf/python/default.nix b/modules/home.legacy/conf/python/default.nix
new file mode 100644
index 00000000..826d466d
--- /dev/null
+++ b/modules/home.legacy/conf/python/default.nix
@@ -0,0 +1,6 @@
+{config, ...}: {
+  xdg.configFile."python/pythonrc".source = ./pythonrc.py;
+  programs.zsh.sessionVariables = {
+    "PYTHONSTARTUP" = "${config.xdg.configHome}/python/pythonrc";
+  };
+}