Added development suite

This commit is contained in:
Alejandro Angulo 2023-04-02 16:20:41 -07:00
parent 4e302aef1c
commit 0123fe466f
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
3 changed files with 32 additions and 8 deletions

View file

@ -15,8 +15,9 @@ in {
config = mkIf cfg.enable {
aa = {
suites = {
utils.enable = true;
desktop.enable = true;
development.enable = true;
utils.enable = true;
};
};
};

View file

@ -0,0 +1,30 @@
{
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 = {
git.enable = true;
gpg.enable = true;
zsh.enable = true;
exa.enable = true;
};
apps = {
neovim.enable = true;
tmux.enable = true;
};
};
};
}

View file

@ -21,13 +21,6 @@
suites.gaming.enable = true;
tools.git.enable = true;
tools.gpg.enable = true;
tools.zsh.enable = true;
tools.exa.enable = true;
apps.neovim.enable = true;
apps.tmux.enable = true;
apps.yubikey.enable = true;
services.openssh.enable = true;