add nix-index

This commit is contained in:
cswimr 2024-12-08 19:32:32 -05:00
parent a6425cba3b
commit ec99c682ea
Signed by: cswimr
GPG key ID: 0EC431A8DA8F8087
3 changed files with 63 additions and 32 deletions

View file

@ -67,6 +67,8 @@
# even though we don't use bash as our shell, xonsh uses bash completion scripts
programs.bash.completion.enable = true;
programs.command-not-found.enable = false;
users.defaultUserShell = pkgs.xonsh;
programs.xonsh =
let
@ -82,6 +84,7 @@
xontrib load clp
xontrib load direnv
xontrib load sh
source-bash ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
'';
package = pkgs.xonsh.override {
extraPackages = ps: [