22 lines
440 B
Nix
22 lines
440 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
vars,
|
|
...
|
|
}: {
|
|
home-manager.users.${vars.user} = {
|
|
programs.fish = {
|
|
enable = true;
|
|
interactiveShellInit = ''
|
|
nix-your-shell fish | source
|
|
set fish_greeting
|
|
'';
|
|
shellAliases = {
|
|
lzg = "lazygit";
|
|
lzd = "lazydocker";
|
|
batt = ''upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep -e "percentage" -e "state"'';
|
|
};
|
|
};
|
|
};
|
|
}
|