diff --git a/home/applications/python/default.nix b/home/applications/python/default.nix new file mode 100644 index 0000000..ed30197 --- /dev/null +++ b/home/applications/python/default.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: +{ + home.packages = [ pkgs.python3 ]; + + # stolen from nickcao's flake + home.sessionVariables.PYTHONSTARTUP = + (pkgs.writeText "start.py" '' + import readline + readline.write_history_file = lambda *args: None + '').outPath; +} diff --git a/home/default.nix b/home/default.nix index 3ab8102..4c0c064 100644 --- a/home/default.nix +++ b/home/default.nix @@ -36,7 +36,6 @@ fastfetch fd file-roller - gnome-calculator hyperfine libnotify loupe