Misc CLI tool changes
This commit is contained in:
parent
c4c845e01a
commit
a7a5b5e783
|
@ -37,6 +37,9 @@
|
|||
environment.enableAllTerminfo = true;
|
||||
environment.variables.COLORTERM = "truecolor";
|
||||
|
||||
# Set editor
|
||||
environment.variables.EDITOR = "hx";
|
||||
|
||||
# Packages used on all systems
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
|
@ -47,6 +50,9 @@
|
|||
sqlite-interactive
|
||||
];
|
||||
|
||||
# 🥺
|
||||
# security.please.enable = true;
|
||||
|
||||
## Locale/Timezone
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
|
|
@ -14,6 +14,7 @@ in {
|
|||
home.packages = with pkgs; [
|
||||
bat
|
||||
btop
|
||||
choose
|
||||
exa
|
||||
fzf
|
||||
gnupg
|
||||
|
@ -37,6 +38,7 @@ in {
|
|||
"log --graph --pretty=format:'%h -%d %s -%an %n' --abbrev-commit --date=relative --branches";
|
||||
pfusch = "push --force-with-lease";
|
||||
stat = "diff --compact-summary";
|
||||
undo = "reset --soft HEAD~";
|
||||
};
|
||||
extraConfig = {
|
||||
init = { defaultBranch = "mistress"; };
|
||||
|
@ -107,6 +109,12 @@ in {
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
command-not-found.enable = false;
|
||||
nix-index = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -48,6 +48,11 @@ in {
|
|||
newline = "none";
|
||||
};
|
||||
|
||||
whitespace.characters = {
|
||||
tab = "·";
|
||||
tabpad = "·";
|
||||
};
|
||||
|
||||
indent-guides = {
|
||||
render = true;
|
||||
character = "┊";
|
||||
|
@ -64,6 +69,8 @@ in {
|
|||
normal = {
|
||||
"C-left" = [ "move_prev_word_start" "collapse_selection" ];
|
||||
"C-right" = [ "move_next_word_start" "collapse_selection" ];
|
||||
"A-d" = "delete_selection";
|
||||
"d" = "delete_selection_noyank";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue