26 lines
450 B
Nix
26 lines
450 B
Nix
{
|
|
flake,
|
|
pkgs,
|
|
lib,
|
|
config,
|
|
...
|
|
}:
|
|
let
|
|
inherit (flake.inputs) self;
|
|
in
|
|
{
|
|
home.packages = with pkgs; [
|
|
# Could not get overlays or overrides to work.
|
|
(callPackage "${self}/derivations/figlet-with-fonts.nix" { })
|
|
];
|
|
|
|
programs.fish.functions = lib.mkIf config.programs.fish.enable {
|
|
figlet = {
|
|
wraps = "figlet";
|
|
body = # fish
|
|
''
|
|
command figlet -f "ANSI Shadow" $argv
|
|
'';
|
|
};
|
|
};
|
|
}
|