mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 23:29:08 +01:00
This reverts commit 0c25e7fd34.
The slightly decreased evaluation time isn't worth the added maintenance burden
12 lines
273 B
Nix
12 lines
273 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options.custom.programs.shell.direnv.enable = lib.mkEnableOption "";
|
|
|
|
config = lib.mkIf config.custom.programs.shell.direnv.enable {
|
|
programs.direnv = {
|
|
enable = true;
|
|
nix-direnv.enable = true;
|
|
silent = true;
|
|
};
|
|
};
|
|
}
|