feat: fish module

This commit is contained in:
Artur Manuel 2024-10-16 08:55:04 +01:00
commit 9bb12ee272
3 changed files with 28 additions and 8 deletions

21
computers/shared/fish.nix Normal file
View file

@ -0,0 +1,21 @@
{
config,
lib,
...
}: let
cfg = config.alqueva.fish;
in {
options.alqueva.fish = {
enable = lib.mkEnableOption "fish";
};
config = lib.mkIf cfg.enable {
programs.fish = {
vendor = {
functions.enable = true;
config.enable = true;
completions.enable = true;
};
enable = true;
};
};
}