diff --git a/modules/suites/development/default.nix b/modules/suites/development/default.nix index 51985df..513e6c2 100644 --- a/modules/suites/development/default.nix +++ b/modules/suites/development/default.nix @@ -15,10 +15,11 @@ in { config = mkIf cfg.enable { aa = { tools = { + direnv.enable = true; + exa.enable = true; git.enable = true; gpg.enable = true; zsh.enable = true; - exa.enable = true; }; apps = { diff --git a/modules/tools/direnv/default.nix b/modules/tools/direnv/default.nix new file mode 100644 index 0000000..005eab7 --- /dev/null +++ b/modules/tools/direnv/default.nix @@ -0,0 +1,23 @@ +{ + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.aa.tools.direnv; +in { + options.aa.tools.direnv = with lib.types; { + enable = mkEnableOption "direnv"; + }; + + config = mkIf cfg.enable { + aa.home.extraOptions = { + programs.direnv = { + enable = true; + nix-direnv.enable = true; + }; + }; + }; +}