25 lines
585 B
Nix
25 lines
585 B
Nix
{ ... }:
|
|
{
|
|
flake.modules.homeManager.fish = { pkgs, ... }: {
|
|
home.packages = [
|
|
pkgs.lsd
|
|
];
|
|
|
|
programs.fish = {
|
|
enable = true;
|
|
shellInit = ''
|
|
fish_vi_key_bindings
|
|
set -g fish_color_command brblue
|
|
set fish_greeting
|
|
'';
|
|
shellAliases = {
|
|
v = "nvim";
|
|
ls = "lsd";
|
|
nix-shell = "nix-shell --command 'fish'";
|
|
nix-dev = "nix develop --command fish";
|
|
gnome-control-center = "nix-shell -p gnome-control-center --run 'XDG_CURRENT_DESKTOP=GNOME gnome-control-center'";
|
|
};
|
|
};
|
|
};
|
|
}
|