16 lines
289 B
Nix
16 lines
289 B
Nix
|
{ config, lib, ... }:
|
||
|
let
|
||
|
cfg = config.my.home.fish;
|
||
|
in
|
||
|
{
|
||
|
options.my.home.fish.enable = lib.mkEnableOption "Fish shell";
|
||
|
|
||
|
config = lib.mkIf cfg.enable {
|
||
|
programs.fish = {
|
||
|
enable = true;
|
||
|
};
|
||
|
|
||
|
xdg.configFile."fish/functions" = { source = ./. + "/functions"; };
|
||
|
};
|
||
|
}
|