feat: fish module
This commit is contained in:
parent
6afaf00bba
commit
9bb12ee272
3 changed files with 28 additions and 8 deletions
21
computers/shared/fish.nix
Normal file
21
computers/shared/fish.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue