28 lines
566 B
Nix
28 lines
566 B
Nix
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
options.my.shell.tools = {
|
|
enable = lib.mkEnableOption "shell tools and utilities";
|
|
users = lib.mkOption {
|
|
type = inputs.self.lib.usersOptionType lib;
|
|
default = config.my.toggleUsers.shell;
|
|
description = "Users to install shell tools for";
|
|
};
|
|
};
|
|
config = lib.mkIf config.my.shell.tools.enable {
|
|
programs = {
|
|
starship.enable = true;
|
|
tmux.enable = true;
|
|
fzf.fuzzyCompletion = true;
|
|
neovim = {
|
|
enable = true;
|
|
vimAlias = true;
|
|
};
|
|
};
|
|
};
|
|
}
|