35 lines
514 B
Nix
35 lines
514 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf mkEnableOption;
|
|
cfg = config.aa.suites.development;
|
|
in {
|
|
options.aa.suites.development = {
|
|
enable = mkEnableOption "common configuration";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
aa = {
|
|
tools = {
|
|
gpg.enable = true;
|
|
};
|
|
|
|
apps = {
|
|
neovim.enable = true;
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
awscli2
|
|
direnv
|
|
minio-client
|
|
npins
|
|
pre-commit
|
|
git
|
|
];
|
|
};
|
|
}
|