mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 22:11:33 +01:00
13 lines
289 B
Nix
13 lines
289 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
options.myConfig.shell.direnv.enable = lib.mkEnableOption "";
|
|
|
|
config.programs.direnv = lib.mkIf config.myConfig.shell.direnv.enable {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
config.global.hide_env_diff = true;
|
|
};
|
|
}
|