27 lines
580 B
Nix
27 lines
580 B
Nix
|
{ pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
programs = {
|
||
|
fish = {
|
||
|
enable = true;
|
||
|
plugins = [
|
||
|
{
|
||
|
# !! to get the previous command
|
||
|
name = "fishbang";
|
||
|
src = pkgs.fetchFromGitHub {
|
||
|
owner = "BrewingWeasel";
|
||
|
repo = "fishbang";
|
||
|
rev = "50389667eb9ac79edcff9b987c83e1de8ac93921";
|
||
|
hash = "sha256-IneNWyfo29C7FDA5b6pTZRX3HpP6y/dRM6GXuLq2+zc=";
|
||
|
};
|
||
|
}
|
||
|
];
|
||
|
};
|
||
|
|
||
|
starship = {
|
||
|
enable = true;
|
||
|
settings = (with builtins; fromTOML (readFile ./starship.toml)) // { };
|
||
|
};
|
||
|
};
|
||
|
}
|