Add utilities and bash aliases
This commit is contained in:
18
home.nix
18
home.nix
@@ -17,8 +17,12 @@
|
|||||||
obsidian
|
obsidian
|
||||||
signal-desktop
|
signal-desktop
|
||||||
fragments
|
fragments
|
||||||
|
pitivi
|
||||||
|
pika-backup
|
||||||
|
|
||||||
neofetch
|
neofetch
|
||||||
unzip
|
unzip
|
||||||
|
eza
|
||||||
|
|
||||||
# Note to self: This config does not include games/benchmarks. I'm using flatpak for those.
|
# Note to self: This config does not include games/benchmarks. I'm using flatpak for those.
|
||||||
|
|
||||||
@@ -207,6 +211,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.bat = {
|
||||||
|
enable = true;
|
||||||
|
extraPackages = with pkgs.bat-extras; [ batdiff batman batgrep ];
|
||||||
|
};
|
||||||
|
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
cursorTheme = {
|
cursorTheme = {
|
||||||
@@ -280,9 +289,14 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls = "ls --color=auto";
|
l = "eza -alhM --git --total-size --icons";
|
||||||
grep = "grep --color=auto";
|
ls = "eza --icons";
|
||||||
|
ll = "eza -lhiM --git --total-size --icons --tree";
|
||||||
|
tree = "eza --tree";
|
||||||
|
grep = "batgrep";
|
||||||
code = "codium";
|
code = "codium";
|
||||||
|
cat = "bat";
|
||||||
|
man = "batman";
|
||||||
};
|
};
|
||||||
initExtra = "set completion-ignore-case On";
|
initExtra = "set completion-ignore-case On";
|
||||||
bashrcExtra = ''
|
bashrcExtra = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user