Refactor back to a more modular configuration

This commit is contained in:
Oliver Davies 2025-04-22 17:42:24 +01:00
parent f85d4968ed
commit f7ba471218
178 changed files with 2245 additions and 1847 deletions

View file

@ -0,0 +1,21 @@
{ config, lib, ... }:
with lib;
let
cfg = config.homeManagerModules.cli.direnv;
in
{
options.homeManagerModules.cli.direnv.enable = mkEnableOption "Enable direnv";
config = mkIf cfg.enable {
programs.direnv = {
enable = true;
enableZshIntegration = true;
nix-direnv.enable = true;
silent = true;
};
};
}