2021-04-22 17:52:39 +02:00
|
|
|
{ config, lib, ... }:
|
|
|
|
let
|
|
|
|
cfg = config.my.home.fish;
|
|
|
|
in
|
|
|
|
{
|
2021-07-29 12:20:30 +02:00
|
|
|
options.my.home.fish.enable = (lib.mkEnableOption "Fish shell") // { default = true; };
|
2021-04-22 17:52:39 +02:00
|
|
|
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
programs.fish = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
xdg.configFile."fish/functions" = { source = ./. + "/functions"; };
|
|
|
|
};
|
|
|
|
}
|