marleyos/modules/home/programs/neo/default.nix

27 lines
432 B
Nix

{
lib,
config,
pkgs,
...
}: let
cfg = config.marleyos.programs.neo;
in {
options.marleyos.programs.neo.enable = lib.mkEnableOption "neo";
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
neo
];
programs.fish.functions = {
neo = {
wraps = "neo";
body =
# fish
''
command neo --charset=ascii $argv
'';
};
};
};
}