python: Move to separate file

This commit is contained in:
Geoffrey Frogeye 2024-01-08 23:24:17 +01:00
parent 83b38ddf61
commit 8f370c5040
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
5 changed files with 56 additions and 42 deletions

View file

@ -43,7 +43,6 @@
ffplay = "ffplay -hide_banner";
numbat = "numbat --intro-banner off";
insect = "numbat";
ipython = "ipython --no-confirm-exit --pdb";
bat = "bat -A";
# Frequent mistakes
@ -233,9 +232,6 @@
log-scale: yes
'';
};
"pythonstartup.py" = {
text = (builtins.readFile ./pythonstartup.py);
};
};
};
home = {
@ -326,7 +322,6 @@
# INPUTRC = "${config.xdg.configHome}/inputrc"; # UPST Will use programs.readline, but doesn't allow path setting
LESSHISTFILE = "${config.xdg.stateHome}/lesshst";
NODE_REPL_HISTORY = "${config.xdg.cacheHome}/node_repl_history";
PYTHONSTARTUP = "${config.xdg.configHome}/pythonstartup.py";
# TODO I think we're not using the urxvt daemon on purpose?
# TODO this should be desktop only, as a few things are too.
SQLITE_HISTFILE = "${config.xdg.stateHome}/sqlite_history";