Misc CLI tool changes

This commit is contained in:
Agatha Lovelace 2023-03-06 20:37:55 +01:00
parent c4c845e01a
commit a7a5b5e783
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
3 changed files with 21 additions and 0 deletions

View File

@ -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";

View File

@ -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;
};
};
};
}

View File

@ -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";
};
};
};