marleyos/modules/darwin/programs/fish/default.nix
punkfairie cc51153ece
feat(darwin): Big messy darwin bootstrap
I thought about splitting this into smaller commits but fuck it
2024-11-21 20:28:46 -08:00

24 lines
343 B
Nix

{
lib,
config,
pkgs,
...
}:
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 = [ pkgs.fish ];
};
}