My Nix Configuration

[home.fish] Remove lib.getExe usage

pyrox.dev 6d3fdf83 841b3630

verified
Changed files
+9 -9
modules
home
programs
+9 -9
modules/home/programs/fish/default.nix
···
...
}:
let
-
inherit (lib) getExe mkEnableOption mkIf;
+
inherit (lib) mkEnableOption mkIf;
cfg = config.py.programs.fish;
in
{
···
config.programs.fish = mkIf cfg.enable {
enable = true;
shellAliases = {
-
"lg" = getExe pkgs.lazygit;
-
"cat" = getExe pkgs.bat;
-
"gls" = "${getExe pkgs.eza} -lah@ --icons --git --git-ignore --no-user";
-
"ls" = "${getExe pkgs.eza} --icons -a";
-
"ll" = "${getExe pkgs.eza} --icons -lah@";
-
"lt" = "${getExe pkgs.eza} --icons --tree -a";
-
"dig" = getExe pkgs.doggo;
+
"lg" = "lazygit";
+
"cat" = "bat";
+
"gls" = "eza -lah@ --icons --git --git-ignore --no-user";
+
"ls" = "eza --icons -a";
+
"ll" = "eza --icons -lah@";
+
"lt" = "eza --icons --tree -a";
+
"dig" = "doggo";
+
"nt" = "nixpkgs-track";
};
shellInit = ''
set -x GPG_TTY (tty)
···
interactiveShellInit = ''
fzf_configure_bindings --directory=\cf --git_log=\cl --git_status=\cg \
--history=\cr --variables=\cv --processes=\cp
-
any-nix-shell fish --info-right | source
'';
plugins = [