dotfiles/modules/nixos/suites/development/default.nix

36 lines
585 B
Nix
Raw Normal View History

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;
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;
};
};
environment.systemPackages = with pkgs; [
pre-commit
];
2023-04-02 23:20:41 +00:00
};
}