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