2023-04-02 23:20:41 +00:00
|
|
|
{
|
|
|
|
options,
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib; let
|
|
|
|
cfg = config.aa.suites.development;
|
|
|
|
in {
|
|
|
|
options.aa.suites.development = with lib.types; {
|
|
|
|
enable = mkEnableOption "common configuration";
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
aa = {
|
|
|
|
tools = {
|
2023-04-02 23:30:31 +00:00
|
|
|
direnv.enable = true;
|
2023-09-15 01:19:10 +00:00
|
|
|
eza.enable = true;
|
2023-04-02 23:20:41 +00:00
|
|
|
git.enable = true;
|
|
|
|
gpg.enable = true;
|
|
|
|
zsh.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
apps = {
|
|
|
|
neovim.enable = true;
|
|
|
|
tmux.enable = true;
|
|
|
|
};
|
|
|
|
};
|
2023-04-02 23:36:24 +00:00
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
pre-commit
|
|
|
|
];
|
2023-04-02 23:20:41 +00:00
|
|
|
};
|
|
|
|
}
|