mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
Add utility programs to path
This commit is contained in:
parent
905d55db30
commit
4f1ae0ec76
3 changed files with 19 additions and 15 deletions
|
|
@ -6,6 +6,11 @@
|
|||
}:
|
||||
{
|
||||
config = lib.mkIf config.myConfig.shell.enable {
|
||||
home.packages = [
|
||||
pkgs.eza
|
||||
pkgs.bat
|
||||
];
|
||||
|
||||
home.shellAliases =
|
||||
let
|
||||
nixAliases =
|
||||
|
|
@ -49,7 +54,7 @@
|
|||
};
|
||||
convertAliasToCmd =
|
||||
str:
|
||||
"${lib.getExe pkgs.eza} --header --group --time-style=long-iso --group-directories-first --sort=name --icons=auto --git --git-repos-no-status --binary "
|
||||
"eza --header --group --time-style=long-iso --group-directories-first --sort=name --icons=auto --git --git-repos-no-status --binary "
|
||||
+ (builtins.replaceStrings
|
||||
[
|
||||
"ll"
|
||||
|
|
@ -82,7 +87,7 @@
|
|||
.${config.myConfig.de.theme};
|
||||
in
|
||||
{
|
||||
cat = "${lib.getExe pkgs.bat} --plain --theme=${theme}";
|
||||
cat = "bat --plain --theme=${theme}";
|
||||
};
|
||||
in
|
||||
lib.mkMerge [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue