Cleanup nix config

This commit is contained in:
Roman Godmaire 2023-12-08 07:09:30 -05:00
parent 24c0c218d5
commit 348263df35

View file

@ -25,6 +25,7 @@
just
tokei
mermaid-cli
yazi
# Elixir
elixir
@ -125,33 +126,23 @@
fish_add_path $HOME/.emacs.d/bin/
fish_add_path $HOME/.cargo/bin/
'';
loginShellInit = ''
set -x XDG_DATA_DIRS $HOME/.nix-profile/share:$XDG_DATA_DIRS
'';
interactiveShellInit = ''
set fish_greeting
'';
};
programs.rtx = {
enable = true;
enableFishIntegration = true;
functions = {
update = "nix-channel --update && home-manager switch";
};
};
programs.starship = {
enable = true;
enableFishIntegration = true;
};
programs.yazi = {
enable = true;
enableFishIntegration = true;
};
programs.zoxide = {
enable = true;
enableFishIntegration = true;
};
programs.rtx.enable = true;
programs.starship.enable = true;
programs.zoxide.enable = true;
# Programming configurations
programs.git = {