Extract a direnv mixin
This commit is contained in:
parent
6c9921f45d
commit
3e0b574052
10 changed files with 13 additions and 28 deletions
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
imports = [
|
||||
./bin
|
||||
./direnv.nix
|
||||
./fzf.nix
|
||||
./git.nix
|
||||
./neovim
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
options.homeManagerModules.direnv.enable = mkEnableOption "Enable direnv";
|
||||
|
||||
config = mkIf config.homeManagerModules.direnv.enable {
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
|
||||
nix-direnv.enable = true;
|
||||
|
||||
silent = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue