refactor: clean up tree wide
This commit is contained in:
parent
ad7c7056f9
commit
39c52199a0
3 changed files with 42 additions and 37 deletions
|
@ -1,26 +1,22 @@
|
||||||
|
{ pkgs, inputs, ... }:
|
||||||
{
|
{
|
||||||
pkgs,
|
cli = {
|
||||||
inputs,
|
shell = "zsh";
|
||||||
...
|
screensaver.enable = true;
|
||||||
}:
|
screensaver.timeout = "100";
|
||||||
{
|
screensaver.command = "cbonsai -S";
|
||||||
cli.shell = "zsh";
|
editor = "nvf";
|
||||||
cli.screensaver.enable = true;
|
file-browser = "yazi";
|
||||||
cli.screensaver.timeout = "100";
|
multiplexer = "zellij";
|
||||||
cli.screensaver.command = "cbonsai -S";
|
fetch = "hyfetch";
|
||||||
cli.editor = "nvf";
|
git.name = "Mohammad Rafiq";
|
||||||
cli.file-browser = "yazi";
|
git.email = "rafiq@rrv.sh";
|
||||||
cli.multiplexer = "zellij";
|
git.defaultBranch = "prime";
|
||||||
cli.fetch = "hyfetch";
|
|
||||||
cli.git.name = "Mohammad Rafiq";
|
|
||||||
cli.git.email = "rafiq@rrv.sh";
|
|
||||||
cli.git.defaultBranch = "prime";
|
|
||||||
|
|
||||||
home.shellAliases = {
|
|
||||||
v = "nvim";
|
|
||||||
};
|
};
|
||||||
|
home = {
|
||||||
|
shellAliases.v = "nvim";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
cbonsai
|
cbonsai
|
||||||
ripgrep
|
ripgrep
|
||||||
devenv
|
devenv
|
||||||
|
@ -29,22 +25,20 @@
|
||||||
inputs.nixspect.packages."x86_64-linux".nixspect
|
inputs.nixspect.packages."x86_64-linux".nixspect
|
||||||
];
|
];
|
||||||
|
|
||||||
home.persistence."/persist/home/rafiq".directories = [ "repos" ];
|
persistence."/persist/home/rafiq".directories = [ "repos" ];
|
||||||
|
|
||||||
programs.direnv = {
|
|
||||||
enable = true;
|
|
||||||
nix-direnv.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
nh.enable = true;
|
||||||
thefuck.enable = true;
|
thefuck.enable = true;
|
||||||
tealdeer.enable = true;
|
tealdeer.enable = true;
|
||||||
tealdeer.settings.updates.auto_update = true;
|
tealdeer.settings.updates.auto_update = true;
|
||||||
|
direnv = {
|
||||||
|
enable = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
};
|
||||||
fzf = {
|
fzf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
nh.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,18 @@
|
||||||
programs.yazi = {
|
programs.yazi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellWrapperName = "t";
|
shellWrapperName = "t";
|
||||||
|
settings = {
|
||||||
|
manager = {
|
||||||
|
sort_by = "natural";
|
||||||
|
prepend_keymap = [
|
||||||
|
{
|
||||||
|
on = "l";
|
||||||
|
run = "plugin smart-enter";
|
||||||
|
desc = "";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
programs.zellij = {
|
programs.zellij = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
attachExistingSession = true;
|
|
||||||
exitShellOnExit = true;
|
|
||||||
settings = {
|
settings = {
|
||||||
pane_frames = false;
|
pane_frames = false;
|
||||||
show_startup_tips = false;
|
show_startup_tips = false;
|
||||||
|
@ -41,6 +39,7 @@
|
||||||
|
|
||||||
mode_normal "#[bg=#89B4FA] {name} "
|
mode_normal "#[bg=#89B4FA] {name} "
|
||||||
mode_locked "#[bg=#f55e18] {name} "
|
mode_locked "#[bg=#f55e18] {name} "
|
||||||
|
mode_session "#[bq=#00ff00 {name}]"
|
||||||
|
|
||||||
tab_normal "#[fg=#6C7086] {index} "
|
tab_normal "#[fg=#6C7086] {index} "
|
||||||
tab_active "#[fg=#9399B2,bold,italic] {index} "
|
tab_active "#[fg=#9399B2,bold,italic] {index} "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue