Added development suite
This commit is contained in:
parent
4e302aef1c
commit
0123fe466f
|
@ -15,8 +15,9 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
aa = {
|
||||
suites = {
|
||||
utils.enable = true;
|
||||
desktop.enable = true;
|
||||
development.enable = true;
|
||||
utils.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
30
modules/suites/development/default.nix
Normal file
30
modules/suites/development/default.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue