marleyos/modules/darwin/programs/fish/default.nix

22 lines
352 B
Nix
Raw Normal View History

{
lib,
config,
...
}: let
inherit (lib) mkIf mkEnableOption;
cfg = config.marleyos.programs.fish;
in {
options.marleyos.programs.fish.enable = mkEnableOption "fish";
config = mkIf cfg.enable {
programs.fish = {
enable = true;
useBabelfish = true;
};
environment.shells = [config.programs.fish.package];
};
}