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

21 lines
353 B
Nix
Raw Normal View History

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