refactor: move programs into graphical and shell

This commit is contained in:
Mohammad Rafiq 2025-03-27 04:26:49 +08:00
parent 68047c894e
commit 727d197f41
No known key found for this signature in database
39 changed files with 68 additions and 62 deletions

39
configs/shell/default.nix Normal file
View file

@ -0,0 +1,39 @@
{ 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";
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
];
};
}