nixos-config/modules/nixos/apps/cli-apps/fish/default.nix
2024-03-26 18:48:58 +01:00

18 lines
374 B
Nix

{ options, config, lib, pkgs, ... }:
with lib;
with lib.wyrdgard; let
cfg = config.wyrdgard.apps.cli-apps.fish;
in
{
options.wyrdgard.apps.cli-apps.fish = with types; {
enable = mkBoolOpt false "Whether or not to enable the fish shell";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
fish
fishPlugins.tide
];
};
}