Harald Hoyer
cbe03d1060
Renamed several modules to better align with Darwin-specific configurations. Refactored configuration for Alacritty and removed it from system packages where not needed. Introduced Homebrew settings and cleaned up redundant entries in multiple Nix files.
26 lines
356 B
Nix
26 lines
356 B
Nix
{
|
|
options,
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
with lib;
|
|
with lib.metacfg;
|
|
let
|
|
cfg = config.metacfg.tools.direnv;
|
|
in
|
|
{
|
|
options.metacfg.tools.direnv = with types; {
|
|
enable = mkBoolOpt false "Whether or not to enable direnv.";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.direnv = {
|
|
enable = true;
|
|
nix-direnv = enabled;
|
|
};
|
|
};
|
|
}
|