ooknet/system/modules/user/shell/fish/default.nix
2024-01-17 22:18:39 +13:00

19 lines
339 B
Nix

{ pkgs, lib, config, ... }:
let
cfg = config.systemModules.user.shell.fish;
in
{
config = lib.mkIf cfg.enable {
users.users.ooks.shell = pkgs.fish;
programs.fish = {
enable = true;
vendor = {
completions.enable = true;
config.enable = true;
functions.enable = true;
};
};
};
}