refactor: clean up tree wide

This commit is contained in:
Mohammad Rafiq 2025-05-26 07:48:07 +08:00
parent ad7c7056f9
commit 39c52199a0
No known key found for this signature in database
3 changed files with 42 additions and 37 deletions

View file

@ -1,50 +1,44 @@
{ pkgs, inputs, ... }:
{
pkgs,
inputs,
...
}:
{
cli.shell = "zsh";
cli.screensaver.enable = true;
cli.screensaver.timeout = "100";
cli.screensaver.command = "cbonsai -S";
cli.editor = "nvf";
cli.file-browser = "yazi";
cli.multiplexer = "zellij";
cli.fetch = "hyfetch";
cli.git.name = "Mohammad Rafiq";
cli.git.email = "rafiq@rrv.sh";
cli.git.defaultBranch = "prime";
home.shellAliases = {
v = "nvim";
cli = {
shell = "zsh";
screensaver.enable = true;
screensaver.timeout = "100";
screensaver.command = "cbonsai -S";
editor = "nvf";
file-browser = "yazi";
multiplexer = "zellij";
fetch = "hyfetch";
git.name = "Mohammad Rafiq";
git.email = "rafiq@rrv.sh";
git.defaultBranch = "prime";
};
home = {
shellAliases.v = "nvim";
home.packages = with pkgs; [
cbonsai
ripgrep
devenv
pantheon.rebuild
pantheon.edit
inputs.nixspect.packages."x86_64-linux".nixspect
];
packages = with pkgs; [
cbonsai
ripgrep
devenv
pantheon.rebuild
pantheon.edit
inputs.nixspect.packages."x86_64-linux".nixspect
];
home.persistence."/persist/home/rafiq".directories = [ "repos" ];
programs.direnv = {
enable = true;
nix-direnv.enable = true;
persistence."/persist/home/rafiq".directories = [ "repos" ];
};
programs = {
nh.enable = true;
thefuck.enable = true;
tealdeer.enable = true;
tealdeer.settings.updates.auto_update = true;
direnv = {
enable = true;
nix-direnv.enable = true;
};
fzf = {
enable = true;
enableZshIntegration = true;
};
nh.enable = true;
};
}

View file

@ -5,6 +5,18 @@
programs.yazi = {
enable = true;
shellWrapperName = "t";
settings = {
manager = {
sort_by = "natural";
prepend_keymap = [
{
on = "l";
run = "plugin smart-enter";
desc = "";
}
];
};
};
};
};
}

View file

@ -11,8 +11,6 @@
programs.zellij = {
enable = true;
enableZshIntegration = true;
attachExistingSession = true;
exitShellOnExit = true;
settings = {
pane_frames = false;
show_startup_tips = false;
@ -41,6 +39,7 @@
mode_normal "#[bg=#89B4FA] {name} "
mode_locked "#[bg=#f55e18] {name} "
mode_session "#[bq=#00ff00 {name}]"
tab_normal "#[fg=#6C7086] {index} "
tab_active "#[fg=#9399B2,bold,italic] {index} "