This commit is contained in:
Peder Bergebakken Sundt 2025-02-18 23:12:59 +01:00
parent 15f6a71125
commit 0061fccc8b
3 changed files with 6 additions and 4 deletions
flake.nix
users/pbsds/home/profiles

@ -172,7 +172,7 @@
imports = let ifExists = p: if builtins.pathExists p then p else {}; in [
./base.nix
"${self}/hosts/nixos/${hostname}/configuration.nix"
inputs.home-manager.nixosModule
inputs.home-manager.nixosModules.default
#inputs.nix-index-database.nixosModules.nix-index # TODO: fix?
] ++ modules ++ extra-modules;
#++ inputs.flake-programs-sqlite.nixosModules.programs-sqlite; # TODO: make work

@ -141,7 +141,7 @@ with lib.hm.gvariant;
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom12" = {
binding = "";
command = "sh -c \"ghostty -e python3 -i $HOME/.local/opt/sympy-interactive-imports.py\"";
command = "ghostty -e \"python3 -i $HOME/.local/opt/sympy-interactive-imports.py\"";
name = "Open SymPy terminal";
};
@ -171,7 +171,7 @@ with lib.hm.gvariant;
"org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5" = {
binding = "<Primary><Alt>space";
command = "sh -c \"ghostty -e `command -v ptpython || echo python3` -i $HOME/.local/opt/python-interactive-imports.py\"";
command = "ghostty -e \"`command -v ptpython || echo python3` -i $HOME/.local/opt/python-interactive-imports.py\"";
name = "Open Python Terminal";
};

@ -32,7 +32,9 @@ in
# ~/.inputrc
programs.readline = {
enable = true;
#bindings = { };
bindings = {
"\\e[Z" = "menu-complete"; # shift+tab
};
variables = {
# https://man.archlinux.org/man/core/readline/readline.3.en#Variables
completion-ignore-case = true;