major restructuring for using snowfall
This commit is contained in:
15
modules/home/direnv/default.nix
Normal file
15
modules/home/direnv/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let cfg = config.modules.shell.direnv;
|
||||
in {
|
||||
options.modules.shell.direnv = { enable = mkOption { default = false; }; };
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user