Enable nix-direnv

main
Julius Riegel 8 months ago
parent 97993cede6
commit 9df2d65c49

@ -14,7 +14,7 @@
# {{@key}} packages # {{@key}} packages
{{#each this.packages}} {{#each this.packages}}
pkgs.{{this}} pkgs.{{{this}}}
{{/each}} {{/each}}
{{/if}} {{/if}}
{{/each}} {{/each}}
@ -23,5 +23,14 @@
]; ];
fonts.fontconfig.enable = true; fonts.fontconfig.enable = true;
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; programs = {
home-manager.enable = true;
{{#if-installed direnv}}
direnv = {
enable = true;
nix-direnv.enable = true;
};
{{/if-installed}}
};
} }

Loading…
Cancel
Save