mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-08 04:38:06 +01:00
29 lines
510 B
Nix
29 lines
510 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.fish = {
|
|
enable = true;
|
|
interactiveShellInit = ''
|
|
# This is commented until a good way of installing themes is found
|
|
# fish_config theme choose Catppuccin\ Mocha
|
|
|
|
function fish_greeting
|
|
krabby random --no-title --padding-left 2
|
|
end
|
|
|
|
function weather
|
|
curl "wttr.in/Bolzano?0?Q?"
|
|
end
|
|
|
|
function dev
|
|
nix develop --command "fish"
|
|
end
|
|
'';
|
|
plugins = with pkgs.fishPlugins; [
|
|
{
|
|
name = "fzf.fish";
|
|
src = fzf-fish.src;
|
|
}
|
|
];
|
|
};
|
|
}
|