nixos/modules/home/shell/direnv.nix
Florian RICHER a425abee8b
All checks were successful
check / check (push) Successful in 32s
Refactor: Avoid use folder for one file
Fix #3
2025-01-29 21:48:43 +01:00

18 lines
No EOL
305 B
Nix

{ config, lib, ... }:
with lib;
let
cfg = config.modules.home.shell.direnv;
in
{
options.modules.home.shell.direnv = {
enable = mkEnableOption ''
Enable direnv with my custom configurations
'';
};
config = mkIf cfg.enable {
programs.direnv = {
enable = true;
};
};
}