pantheon/configs/shell/default.nix
2025-03-29 23:54:35 +08:00

43 lines
832 B
Nix

{ pkgs, ... }:
{
imports = [
./scripts
./comma.nix
./direnv.nix
./editorconfig.nix
./fzf.nix
./git.nix
./nh.nix
./nvf.nix
./starship.nix
./tealdeer.nix
./yazi.nix
./zellij.nix
./zoxide.nix
./zsh.nix
];
home-manager.users.rafiq.home = {
shell.enableShellIntegration = true;
shellAliases = {
gs = "git status";
ai = "aichat -r %shell% -e";
cd = "z";
v = "$EDITOR";
g = "git";
l = "eza -1lah --git --time-style '+%Y-%m-%d %H:%M'";
list-all-packages = "nix-store --query --requisites /run/current-system | cut -d- -f2- | sort | uniq";
};
packages = with pkgs; [
aichat
bat
btop # add settings as home-manager module
devenv
fastfetch
ripgrep
ttyper
eza
];
};
}