Add system config Split up modules into home and system sets Update Cleanup Move home config Add module attrs Fix empty LUKS device UUID Import local secrets
17 lines
336 B
Nix
17 lines
336 B
Nix
{ config, pkgs, lib, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.dadada.home.direnv;
|
|
in
|
|
{
|
|
options.dadada.home.direnv = {
|
|
enable = mkEnableOption "Enable direnv config";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
programs.direnv = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
enableNixDirenvIntegration = true;
|
|
};
|
|
};
|
|
}
|