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

19 lines
322 B
Nix

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